mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 06:27:27 +00:00
Fix deprecations
This commit is contained in:
parent
693d780fb2
commit
6a0420f892
2 changed files with 2 additions and 2 deletions
2
run.py
2
run.py
|
@ -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)
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue