fix(aurora): fixed incorrect decorator (again)
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 14s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s

This commit is contained in:
Seaswimmer 2024-01-16 10:59:02 +00:00
parent fe50eddc25
commit b53ca9cac4
Signed by: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -94,7 +94,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_inline_pagesize.clear() await config.user(self.ctx.author).history_inline_pagesize.clear()
await interaction.message.edit(embed=await embed(self.ctx)) await interaction.message.edit(embed=await embed(self.ctx))
@ui.select(label="Pagesize", options=create_pagesize_options(), row=2) @ui.select(placeholder="Pagesize", options=create_pagesize_options(), row=2)
async def pagesize(self, interaction: Interaction, select: ui.Select,): # pylint: disable=unused-argument async def pagesize(self, interaction: Interaction, select: ui.Select,): # pylint: disable=unused-argument
if self.ctx.author != interaction.user: if self.ctx.author != interaction.user:
await interaction.response.send_message("You cannot change this setting for other users.", ephemeral=True) await interaction.response.send_message("You cannot change this setting for other users.", ephemeral=True)