mirror of
https://github.com/myned/watcher.git
synced 2024-11-01 12:22:38 +00:00
?run.py [ fixed install to Client based on version of Hikari Miru 4.0.0 ]
Based on: Jan 18 @hypergonial hypergonial v4.0.0 87cfae8 v4.0.0 - REST Bot support
This commit is contained in:
parent
0301411323
commit
7481105860
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