1
0
Fork 0
mirror of https://github.com/myned/watcher.git synced 2024-11-01 12:22:38 +00:00

Fix miru not loading

This commit is contained in:
Myned 2022-07-05 17:28:19 -05:00
parent 613d27fe6e
commit 3071543612
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

2
run.py
View file

@ -1,6 +1,7 @@
import os
import hikari
import lightbulb
import miru
from lightbulb.ext import tasks
import config as c
@ -27,6 +28,7 @@ async def on_error(event):
raise event.exception
miru.load(bot)
tasks.load(bot)
bot.load_extensions_from("commands", "tasks")
bot.run(activity=hikari.Activity(name=c.config["activity"], type=c.ACTIVITY) if c.config["activity"] else None)