diff options
| -rw-r--r-- | pydis_core/exts/source.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pydis_core/exts/source.py b/pydis_core/exts/source.py index 5fe29306..064dcb2d 100644 --- a/pydis_core/exts/source.py +++ b/pydis_core/exts/source.py @@ -196,6 +196,12 @@ class SourceCode(commands.Cog, description="Displays information about the bot's embed = Embed(title=title, description=description) embed.add_field(name="Source Code", value=f"[Go to GitHub]({url})") line_text = f":{first_line}" if first_line else "" - embed.set_footer(text=f"{location}{line_text}", icon_url=GITHUB_AVATAR) + + if source_type == _SourceType.core_cog or source_type == _SourceType.core_command: + project_name = "pydis_core" + else: + project_name = self.bot.user.name + + embed.set_footer(text=f"{project_name} \N{BLACK CIRCLE} {location}{line_text}", icon_url=GITHUB_AVATAR) return embed |