forked from blizzthewolf/SeaCogs
fix(aurora): fixed incorrect decorator
This commit is contained in:
parent
c55cb53a41
commit
fe50eddc25
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue