1
0
Fork 1
forked from cswimr/SeaCogs

fix(aurora): fixed width error

This commit is contained in:
Seaswimmer 2024-01-16 11:00:46 +00:00
parent b53ca9cac4
commit 6d7b551f25
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -23,7 +23,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).auto_evidenceformat.set(True)
await interaction.message.edit(embed=await embed(self.ctx))
@ui.button(label="X", style=ButtonStyle.red, row=0)
@ui.button(label="Reset", style=ButtonStyle.red, row=1)
async def auto_evidenceformat_reset(self, interaction: Interaction, button: ui.Button): # 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)
@ -45,7 +45,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_ephemeral.set(True)
await interaction.message.edit(embed=await embed(self.ctx))
@ui.button(label="X", style=ButtonStyle.red, row=0)
@ui.button(label="Reset", style=ButtonStyle.red, row=1)
async def ephemeral_reset(self, interaction: Interaction, button: ui.Button): # 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)
@ -67,7 +67,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_inline.set(True)
await interaction.message.edit(embed=await embed(self.ctx))
@ui.button(label="X", style=ButtonStyle.red, row=0)
@ui.button(label="Reset", style=ButtonStyle.red, row=1)
async def inline_reset(self, interaction: Interaction, button: ui.Button): # 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)
@ -76,7 +76,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_inline.clear()
await interaction.message.edit(embed=await embed(self.ctx))
@ui.select(placeholder="Inline Pagesize", options=create_pagesize_options(), row=1)
@ui.select(placeholder="Inline Pagesize", options=create_pagesize_options(), row=2)
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)
@ -85,7 +85,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_inline_pagesize.set(int(select.values[0]))
await interaction.message.edit(embed=await embed(self.ctx))
@ui.button(label="X", style=ButtonStyle.red, row=1)
@ui.button(label="X", style=ButtonStyle.red, row=2)
async def inline_pagesize_reset(self, interaction: Interaction, button: ui.Button): # 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)
@ -94,7 +94,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_inline_pagesize.clear()
await interaction.message.edit(embed=await embed(self.ctx))
@ui.select(placeholder="Pagesize", options=create_pagesize_options(), row=2)
@ui.select(placeholder="Pagesize", options=create_pagesize_options(), row=3)
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)
@ -103,7 +103,7 @@ class Overrides(ui.View):
await config.user(self.ctx.author).history_pagesize.set(int(select.values[0]))
await interaction.message.edit(embed=await embed(self.ctx))
@ui.button(label="X", style=ButtonStyle.red, row=2)
@ui.button(label="X", style=ButtonStyle.red, row=3)
async def pagesize_reset(self, interaction: Interaction, button: ui.Button): # 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)