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

Merge pull request #2 from xXenocage/master

Fix breaking change in miru v4.0
This commit is contained in:
Myned 2024-05-24 16:59:44 -05:00 committed by GitHub
commit bafeee342d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
run.py
View file

@ -34,7 +34,7 @@ async def on_error(event):
raise event.exception raise event.exception
miru.install(bot) miru.Client(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)