From d585e89fcd5002dbe79d2154e00633fdf18138d5 Mon Sep 17 00:00:00 2001 From: Bobloy Date: Thu, 17 May 2018 10:12:32 -0400 Subject: [PATCH] Actually do the announcement --- announcedaily/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/announcedaily/__init__.py b/announcedaily/__init__.py index 2ac3ea5..07e6740 100644 --- a/announcedaily/__init__.py +++ b/announcedaily/__init__.py @@ -1,5 +1,9 @@ +from redbot.core.bot import Red + from .announcedaily import AnnounceDaily -def setup(bot): - bot.add_cog(AnnounceDaily(bot)) +def setup(bot: Red): + daily = AnnounceDaily(bot) + bot.loop.create_task(daily.check_day()) + bot.add_cog(daily)