aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-04-03 22:23:30 +0200
committerGravatar kwzrd <[email protected]>2020-04-03 22:23:30 +0200
commit5e6f1079390699d8c83d968febfd7a585775b487 (patch)
tree808e8851a84a7f2409c2da2681bddf6b9147281f /bot/bot.py
parentEnsure cache is ready before grabbing devlog channel (diff)
Send greeting message to devlog channel on bot start-up
Previously, this was done by the SeasonManager cog, which was removed during our deseasonification efforts.
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 4d5397ca..e6bc9e36 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -44,6 +44,7 @@ class SeasonalBot(commands.Bot):
self.http_session = ClientSession(
connector=TCPConnector(resolver=AsyncResolver(), family=socket.AF_INET)
)
+ self.greeting_task = self.loop.create_task(self.send_log("SeasonalBot", "Connected!"))
@property
def member(self) -> Optional[discord.Member]: