Skip to content

Commit b47c8b5

Browse files
committed
Handle no commands in a cog
1 parent b791695 commit b47c8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def format_cog_help(self, cog):
5555
color=bot.main_color
5656
)
5757

58-
embed.add_field(name='Commands', value=format_)
58+
embed.add_field(name='Commands', value=format_ or 'No commands.')
5959

6060
continued = ' (Continued)' if embeds else ''
6161
embed.set_author(name=cog.qualified_name + ' - Help' + continued,

0 commit comments

Comments
 (0)