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)