fix(issues): testing possible fix for submit_issue_request
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6s
This commit is contained in:
parent
67b30154bb
commit
5c0f74a08d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Issues(commands.Cog):
|
||||||
await interaction.response.send_message(content="Hello world!", view=self.IssueButtons(color), ephemeral=True)
|
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):
|
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:
|
if channel is None:
|
||||||
await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True)
|
await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue