fix(issues): changed button formatting so it doesn't look as weird under the embed
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
c1099579f9
commit
639951bd94
1 changed files with 4 additions and 4 deletions
|
@ -56,19 +56,19 @@ class Issues(commands.Cog):
|
|||
self.cog_instance = cog_instance
|
||||
self.original_interaction = original_interaction
|
||||
|
||||
@discord.ui.button(label="Bot Bug", style=discord.ButtonStyle.danger, row=0)
|
||||
@discord.ui.button(label="Bot Bug", style=discord.ButtonStyle.danger)
|
||||
async def issue_button_bot_bug(self, interaction: discord.Interaction, button: discord.ui.Button):
|
||||
await interaction.response.send_modal(modals.BotBugModal(self.color, self.cog_instance, self.original_interaction))
|
||||
|
||||
@discord.ui.button(label="Cog Bug", style=discord.ButtonStyle.danger, row=1)
|
||||
@discord.ui.button(label="Cog Bug", style=discord.ButtonStyle.danger)
|
||||
async def issue_button_cog_bug(self, interaction: discord.Interaction, button: discord.ui.Button):
|
||||
await interaction.response.send_modal(modals.CogBugModal(self.color, self.cog_instance, self.original_interaction))
|
||||
|
||||
@discord.ui.button(label="Bot Suggestion", style=discord.ButtonStyle.blurple, row=0)
|
||||
@discord.ui.button(label="Bot Suggestion", style=discord.ButtonStyle.blurple)
|
||||
async def issue_button_bot_suggestion(self, interaction: discord.Interaction, button: discord.ui.Button):
|
||||
await interaction.response.send_modal(modals.BotSuggestionModal(self.color, self.cog_instance, self.original_interaction))
|
||||
|
||||
@discord.ui.button(label="Cog Suggestion", style=discord.ButtonStyle.blurple, row=1)
|
||||
@discord.ui.button(label="Cog Suggestion", style=discord.ButtonStyle.blurple)
|
||||
async def issue_button_cog_suggestion(self, interaction: discord.Interaction, button: discord.ui.Button):
|
||||
await interaction.response.send_modal(modals.CogSuggestionModal(self.color, self.cog_instance, self.original_interaction))
|
||||
|
||||
|
|
Loading…
Reference in a new issue