diff options
| author | 2020-05-31 11:58:54 +0300 | |
|---|---|---|
| committer | 2020-05-31 11:58:54 +0300 | |
| commit | 0a4b365f5efdb31450647b8d628b3787142d4617 (patch) | |
| tree | f679557f368df32ff027569e51b7b1dd69c6b6ac | |
| parent | Source: Few text fixes, made help command detection better (diff) | |
Source: Add command and cog prefixes to title of embed
| -rw-r--r-- | bot/cogs/source.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/source.py b/bot/cogs/source.py index 32f8d5e08..9e6109ca2 100644 --- a/bot/cogs/source.py +++ b/bot/cogs/source.py @@ -103,12 +103,12 @@ class BotSource(Cog): else: description = source_object.short_doc - title = source_object.qualified_name + title = f"Command: {source_object.qualified_name}" elif isinstance(source_object, str): title = f"Tag: {source_object.split('/')[-1].split('.')[0]}" description = "" else: - title = source_object.qualified_name + title = f"Cog: {source_object.qualified_name}" description = source_object.description.splitlines()[0] embed = Embed(title=title, description=description) |