diff options
| -rw-r--r-- | bot/cogs/logging.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bot/cogs/logging.py b/bot/cogs/logging.py index e8912c38f..8f66e13bb 100644 --- a/bot/cogs/logging.py +++ b/bot/cogs/logging.py @@ -1,4 +1,5 @@ # coding=utf-8 +from discord import Embed from discord.ext.commands import AutoShardedBot from bot.constants import DEVLOG_CHANNEL @@ -14,7 +15,15 @@ class Logging: async def on_ready(self): print("Connected!") - await self.bot.get_channel(DEVLOG_CHANNEL).send("Connected!") + + embed = Embed(description="Connected!") + embed.set_author( + name="Python Bot", + url="https://github.com/discord-python/bot", + icon_url="https://raw.githubusercontent.com/discord-python/branding/master/logos/logo_circle.png" + ) + + await self.bot.get_channel(DEVLOG_CHANNEL).send(embed=embed) def setup(bot): |