aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gustav Odinger <[email protected]>2020-11-17 23:04:31 +0100
committerGravatar Gustav Odinger <[email protected]>2020-11-17 23:04:31 +0100
commit6a53035ce4aec0063ec333214e5b3e8bab66ba01 (patch)
treec1129b9cf35bae02e4ada6b8fc6eb34c834f37a5
parentAdd green-checkmark to bot constants (diff)
Use author as the title of the embed
- Allows the icon to be centered
-rw-r--r--bot/exts/help_channels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/help_channels.py b/bot/exts/help_channels.py
index 3fbffb218..37bc78b26 100644
--- a/bot/exts/help_channels.py
+++ b/bot/exts/help_channels.py
@@ -842,10 +842,10 @@ class HelpChannels(commands.Cog):
log.trace(f"Sending available message in {channel_info}.")
embed = discord.Embed(
- title=AVAILABLE_TITLE,
color=constants.Colours.bright_green,
description=AVAILABLE_MSG,
)
+ embed.set_author(name=AVAILABLE_TITLE, icon_url=constants.Icons.green_checkmark)
embed.set_footer(text=AVAILABLE_FOOTER)
msg = await self.get_last_message(channel)