diff options
| author | 2020-05-20 16:23:58 +0300 | |
|---|---|---|
| committer | 2020-05-20 16:23:58 +0300 | |
| commit | dd05246e29fa46ff53456a499244373c23a24d06 (patch) | |
| tree | 429a13c8b1b99258240509cb4f966900dff57bc6 | |
| parent | Source: Make converter raising `BadArgument` again (diff) | |
Source: Remove links from title of embeds
| -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 633cb8ccf..b285b4089 100644 --- a/bot/cogs/source.py +++ b/bot/cogs/source.py @@ -52,7 +52,7 @@ class Source(Cog): async def source_command(self, ctx: Context, *, source_item: SourceConverter = None) -> None: """Get GitHub link and information about help command, command or Cog.""" if not source_item: - embed = Embed(title="Bot GitHub Repository", url=URLs.github_bot_repo) + embed = Embed(title="Bot GitHub Repository") embed.add_field(name="Repository", value=f"[Go to GitHub]({URLs.github_bot_repo})") await ctx.send(embed=embed) return @@ -91,7 +91,7 @@ class Source(Cog): title = source_object.qualified_name description = source_object.description - embed = Embed(title=title, description=description, url=link) + embed = Embed(title=title, description=description) embed.add_field(name="Source Code", value=f"[Go to GitHub]({link})") if isinstance(source_object, Command): |