parent
70e2e86efd
commit
d585e89fcd
@ -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)
|
||||
|
Loading…
Reference in new issue