fix verify channel perms to disable threads

This commit is contained in:
chrisbell committed 2026-11-10 19:07:11 -06:00
1 parent 79e58f942e
commit 6766066e60
1 file changed
+5 -2
+5 -2
View File
@@ -422,7 +422,10 @@ class Verification(commands.Cog):
guild.default_role, reason=reason,
overwrite=discord.PermissionOverwrite(
view_channel=True, read_message_history=True,
add_reactions=True, send_messages=False))
add_reactions=True, send_messages=False,
create_public_threads=False,
create_private_threads=False,
send_messages_in_threads=False))
step = f"setting permissions for Verified in {channel.mention}"
await channel.set_permissions(
@@ -452,7 +455,7 @@ class Verification(commands.Cog):
"Next: `/verify panel`, `/verify grandfather`, then `/verify enable`.",
ephemeral=True)
@group.command(name="panel",
@group.command(name="panel",
description="Post the rules and Continue button in the verify channel")
@guildconf.admin_only()
async def panel(self, interaction: discord.Interaction):