Skip to content

Commit e88c575

Browse files
Add a "no command description" in the help command.
1 parent 575d5a6 commit e88c575

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
@@ -47,7 +47,7 @@ async def format_cog_help(self, cog, *, no_cog=False):
4747
else:
4848
format_ = f"`[{perm_level}] {prefix + cmd.qualified_name}` "
4949

50-
format_ += f"- {cmd.short_doc}\n"
50+
format_ += f"- {cmd.short_doc}\n" if not cmd.short_doc=="" else "- No description."
5151
if not format_.strip():
5252
continue
5353
if len(format_) + len(formats[-1]) >= 1024:

0 commit comments

Comments
 (0)