misc(issues): changing button rows around
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
Seaswimmer 2023-08-18 13:21:19 -04:00
parent 72f633a83e
commit 8110fe6d3e
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -46,11 +46,11 @@ class Issues(commands.Cog):
async def issue_button_bot_bug(self, button: discord.ui.Button, interaction: discord.Interaction):
await self.passed_info.response.send_modal(Issues.BotBugModal())
@discord.ui.button(label="Cog Bug", style=discord.ButtonStyle.danger, row=0)
@discord.ui.button(label="Cog Bug", style=discord.ButtonStyle.danger, row=1)
async def issue_button_cog_bug(self, button: discord.ui.Button, interaction: discord.Interaction):
await self.passed_info.response.send_modal(Issues.BotBugModal())
@discord.ui.button(label="Bot Suggestion", style=discord.ButtonStyle.blurple, row=1)
@discord.ui.button(label="Bot Suggestion", style=discord.ButtonStyle.blurple, row=0)
async def issue_button_bot_suggestion(self, button: discord.ui.Button, interaction: discord.Interaction):
await self.passed_info.response.send_modal(Issues.BotBugModal())