fix(issues): removed unnecessary parameter
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
Seaswimmer 2023-08-17 02:58:01 -04:00
parent 0bc8898773
commit 7a79809368
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -37,9 +37,8 @@ class Issues(commands.Cog):
await interaction.response.send_message(content="I cannot access that channel!", ephemeral=True)
class IssueButtons(discord.ui.View):
def __init__(self, timeout):
def __init__(self):
super().__init__()
self.timeout = timeout
@discord.ui.button(label="Yes", style=discord.ButtonStyle.success)
async def issue_button_bot(self, button: discord.ui.Button, interaction: discord.Interaction):