fix(issues): hopefully fixed it just not working lmao
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
Seaswimmer 2023-08-18 14:21:18 -04:00
parent 032f695277
commit 4d21f9c769
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -66,37 +66,21 @@ class Issues(commands.Cog):
if self.button_id == "cog_suggestion":
self.cog_name = discord.ui.TextInput(
label="What cog is your feature request for?",
label="What cog is your suggestion for?",
placeholder="If unsure, input 'GalaxyCogs'",
style=discord.TextStyle.short,
max_length=100
)
self.input_list.append(self.cog_name)
if self.button_id == "cog_suggestion" or self.button_id == "bot_suggestion":
self.feature_request_description = discord.ui.TextInput(
label="Is your feature request related to a problem?",
placeholder="A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]",
self.suggestion_description = discord.ui.TextInput(
label="Describe your suggestion.",
placeholder="A clear and concise description of what the suggestion is.",
style=discord.TextStyle.paragraph,
max_length=2048
)
self.solution = discord.ui.TextInput(
label="Solution",
placeholder="Provide a clear and concise description of the solution you'd like.",
style=discord.TextStyle.paragraph,
required=True,
max_length=2048
)
self.alternatives = discord.ui.TextInput(
label="Alternatives",
placeholder="Describe alternatives you've considered.",
style=discord.TextStyle.paragraph,
required=True,
max_length=2048
)
self.input_list.append(self.feature_request_description)
self.input_list.append(self.solution)
self.input_list.append(self.alternatives)
if self.button_id == "bot":
self.input_list.append(self.suggestion_description)
if self.button_id == "bug":
self.bug_description = discord.ui.TextInput(
label="Describe the bug",
placeholder="A clear and concise description of what the bug is.",