wynncraft-bot/cogs/wynncraft/__init__.py

9 lines
183 B
Python
Raw Normal View History

2020-08-31 20:02:55 +02:00
from .wynncraftcog import WynncraftCog
2020-08-31 19:58:01 +02:00
import asyncio
def setup(bot):
n = WynncraftCog(bot)
loop = asyncio.get_event_loop()
loop.create_task(n.loop())
bot.add_cog(n)