From 639951bd94644cde31f258e8611a673acb7853e9 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 20 Aug 2023 16:38:55 -0400 Subject: [PATCH] fix(issues): changed button formatting so it doesn't look as weird under the embed --- issues/issues.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/issues/issues.py b/issues/issues.py index 03ed372..8ce6f65 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -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))