From 6a0420f8923a64e4eb8111c3eeb9c7495a3d5ed7 Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 6 Mar 2023 20:36:53 -0600 Subject: [PATCH] Fix deprecations --- run.py | 2 +- tools/components.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 2ee1ffa..522318c 100644 --- a/run.py +++ b/run.py @@ -44,6 +44,6 @@ async def on_error(event): raise event.exception -miru.load(bot) +miru.install(bot) bot.load_extensions_from("tools", "commands") bot.run(activity=hikari.Activity(name=c.config["activity"], type=c.ACTIVITY) if c.config["activity"] else None) diff --git a/tools/components.py b/tools/components.py index 8f8fac7..0069c6d 100644 --- a/tools/components.py +++ b/tools/components.py @@ -90,7 +90,7 @@ class Selector(nav.NavigatorView): await interaction.edit_initial_response(**payload) - self.start(await interaction.fetch_initial_response()) + await self.start(await interaction.fetch_initial_response()) def load(bot):