mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
parent
342935de49
commit
c6c0165214
@ -249,6 +249,12 @@ class RedHelpFormatter:
|
||||
|
||||
author_info = {"name": f"{ctx.me.display_name} Help Menu", "icon_url": ctx.me.avatar_url}
|
||||
|
||||
if not field_groups: # This can happen on single command without a docstring
|
||||
embed = discord.Embed(color=color, **embed_dict["embed"])
|
||||
embed.set_author(**author_info)
|
||||
embed.set_footer(**embed_dict["footer"])
|
||||
pages.append(embed)
|
||||
|
||||
for i, group in enumerate(field_groups, 1):
|
||||
embed = discord.Embed(color=color, **embed_dict["embed"])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user