Add thread as an option everywhere a textchannel is used.
build_develop / build (push) Successful in 35s

This commit is contained in:
2025-03-20 11:04:00 -04:00
parent a4aab09360
commit 0540f7a9eb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ class SubmissionCog(commands.Cog):
await interaction.response.send_message(error_response, ephemeral=True)
return
if not isinstance(channel, nextcord.TextChannel):
if not isinstance(channel, nextcord.TextChannel | nextcord.Thread):
await interaction.response.send_message("An error happened with submission.")
agon_logger.error(
"Channel id %s in guild %s is does not correspond to a TextChannel.", channel.id, channel.guild.id