From fe50eddc25dda8cb61f2b27c4ab0d0583cb6bd37 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Jan 2024 10:58:33 +0000 Subject: [PATCH] fix(aurora): fixed incorrect decorator --- aurora/configuration/menus/overrides.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aurora/configuration/menus/overrides.py b/aurora/configuration/menus/overrides.py index 0202ab0..e5bae55 100644 --- a/aurora/configuration/menus/overrides.py +++ b/aurora/configuration/menus/overrides.py @@ -77,7 +77,7 @@ class Overrides(ui.View): await interaction.message.edit(embed=await embed(self.ctx)) @ui.select(placeholder="Inline Pagesize", options=create_pagesize_options(), row=1) - async def inline_pagesize(self, select: ui.Select, interaction: Interaction): # pylint: disable=unused-argument + async def inline_pagesize(self, interaction: Interaction, select: ui.Select,): # pylint: disable=unused-argument if self.ctx.author != interaction.user: await interaction.response.send_message("You cannot change this setting for other users.", ephemeral=True) return @@ -94,8 +94,8 @@ class Overrides(ui.View): await config.user(self.ctx.author).history_inline_pagesize.clear() await interaction.message.edit(embed=await embed(self.ctx)) - @ui.button(label="Pagesize", options=create_pagesize_options(), row=2) - async def pagesize(self, select: ui.Select, interaction: Interaction): # pylint: disable=unused-argument + @ui.select(label="Pagesize", options=create_pagesize_options(), row=2) + async def pagesize(self, interaction: Interaction, select: ui.Select,): # pylint: disable=unused-argument if self.ctx.author != interaction.user: await interaction.response.send_message("You cannot change this setting for other users.", ephemeral=True) return