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))