1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-23 22:27:27 +00:00

Fix deprecations

This commit is contained in:
Myned 2023-03-06 20:36:53 -06:00
parent 693d780fb2
commit 6a0420f892
No known key found for this signature in database
GPG key ID: 28056631D2CF6B1B
2 changed files with 2 additions and 2 deletions

2
run.py
View file

@ -44,6 +44,6 @@ async def on_error(event):
raise event.exception raise event.exception
miru.load(bot) miru.install(bot)
bot.load_extensions_from("tools", "commands") bot.load_extensions_from("tools", "commands")
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)

View file

@ -90,7 +90,7 @@ class Selector(nav.NavigatorView):
await interaction.edit_initial_response(**payload) await interaction.edit_initial_response(**payload)
self.start(await interaction.fetch_initial_response()) await self.start(await interaction.fetch_initial_response())
def load(bot): def load(bot):