1
0
Fork 0
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:
Giulio Romano 2024-05-24 16:33:37 +02:00
parent 0301411323
commit 7481105860

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)