fix(issues): pylint fixes

This commit is contained in:
Seaswimmer 2023-09-24 20:27:01 -04:00
parent ce3da3c91b
commit 0c31c59017
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -275,16 +275,16 @@ class IssueResponseModal(discord.ui.Modal, title="Sending response message..."):
if embed.author.name == "Bot Bug Report": if embed.author.name == "Bot Bug Report":
issue_title = f"[BOT BUG] {_issue_title}" issue_title = f"[BOT BUG] {_issue_title}"
desired_labels = ["bot", "bug"] # desired_labels = ["bot", "bug"]
elif embed.author.name == "Bot Suggestion": elif embed.author.name == "Bot Suggestion":
issue_title = f"[BOT SUGGESTION] {_issue_title}" issue_title = f"[BOT SUGGESTION] {_issue_title}"
desired_labels = ["bot", "enhancement"] # desired_labels = ["bot", "enhancement"]
elif embed.author.name == "Cog Bug Report": elif embed.author.name == "Cog Bug Report":
issue_title = f"[{field_values[0]}] {_issue_title}" issue_title = f"[{field_values[0]}] {_issue_title}"
desired_labels = ["cog", "bug"] # desired_labels = ["cog", "bug"]
elif embed.author.name == "Cog Suggestion": elif embed.author.name == "Cog Suggestion":
issue_title = f"[{field_values[0]}] {_issue_title}" issue_title = f"[{field_values[0]}] {_issue_title}"
desired_labels = ["cog", "enhancement"] # desired_labels = ["cog", "enhancement"]
headers = { headers = {
"Authorization": f"Bearer {await self.config.gitea_token()}", "Authorization": f"Bearer {await self.config.gitea_token()}",