fix(issues): testing possible fix for submit_issue_request
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6s

This commit is contained in:
Seaswimmer 2023-08-18 16:39:22 -04:00
parent 67b30154bb
commit 5c0f74a08d
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -19,7 +19,7 @@ class Issues(commands.Cog):
await interaction.response.send_message(content="Hello world!", view=self.IssueButtons(color), ephemeral=True)
async def submit_issue_request(self, interaction: discord.Interaction, embed: discord.Embed):
channel = self.bot.get_channel(self.config.channel())
channel = Issues.bot.get_channel(self.config.channel())
if channel is None:
await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True)
try: