mirror of
https://github.com/myned/watcher.git
synced 2024-12-24 21:17:28 +00:00
Merge pull request #2 from xXenocage/master
Fix breaking change in miru v4.0
This commit is contained in:
commit
bafeee342d
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue