Skip to content

Commit 2d99efe

Browse files
committed
Fix bug with help message
1 parent e3a2bbf commit 2d99efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/utility.py

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

0 commit comments

Comments
 (0)