mirror of
https://github.com/myned/watcher.git
synced 2024-12-24 13:07:28 +00:00
Fix miru not loading
This commit is contained in:
parent
613d27fe6e
commit
3071543612
1 changed files with 2 additions and 0 deletions
2
run.py
2
run.py
|
@ -1,6 +1,7 @@
|
||||||
import os
|
import os
|
||||||
import hikari
|
import hikari
|
||||||
import lightbulb
|
import lightbulb
|
||||||
|
import miru
|
||||||
from lightbulb.ext import tasks
|
from lightbulb.ext import tasks
|
||||||
|
|
||||||
import config as c
|
import config as c
|
||||||
|
@ -27,6 +28,7 @@ async def on_error(event):
|
||||||
raise event.exception
|
raise event.exception
|
||||||
|
|
||||||
|
|
||||||
|
miru.load(bot)
|
||||||
tasks.load(bot)
|
tasks.load(bot)
|
||||||
bot.load_extensions_from("commands", "tasks")
|
bot.load_extensions_from("commands", "tasks")
|
||||||
bot.run(activity=hikari.Activity(name=c.config["activity"], type=c.ACTIVITY) if c.config["activity"] else None)
|
bot.run(activity=hikari.Activity(name=c.config["activity"], type=c.ACTIVITY) if c.config["activity"] else None)
|
||||||
|
|
Loading…
Reference in a new issue