Set thread related perms in private channels to False

This commit is contained in:
Jakub Kuczys
2022-10-01 09:14:03 +02:00
committed by GitHub
parent 217662ca44
commit 6725f329b2
2 changed files with 20 additions and 0 deletions

View File

@ -192,6 +192,10 @@ class Permissions(BaseFlags):
base.read_messages = True
base.send_tts_messages = False
base.manage_messages = False
base.create_private_threads = False
base.create_public_threads = False
base.manage_threads = False
base.send_messages_in_threads = False
return base
@classmethod