From b537280aa8caa9e836ee3333621654ae21e28f17 Mon Sep 17 00:00:00 2001 From: brandons209 Date: Fri, 3 Jul 2020 16:20:19 -0400 Subject: [PATCH] remove discord default channel --- isolate/utils.py | 4 ---- punish/utils.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/isolate/utils.py b/isolate/utils.py index 2a4d3e6..a21700b 100644 --- a/isolate/utils.py +++ b/isolate/utils.py @@ -191,10 +191,6 @@ def permissions_for_roles(channel, *roles): base.handle_overwrite(allow=allows, deny=denies) - # default channels can always be read - if channel.is_default: - base.read_messages = True - # if you can't send a message in a channel then you can't have certain # permissions as well if not base.send_messages: diff --git a/punish/utils.py b/punish/utils.py index 2a4d3e6..a21700b 100644 --- a/punish/utils.py +++ b/punish/utils.py @@ -191,10 +191,6 @@ def permissions_for_roles(channel, *roles): base.handle_overwrite(allow=allows, deny=denies) - # default channels can always be read - if channel.is_default: - base.read_messages = True - # if you can't send a message in a channel then you can't have certain # permissions as well if not base.send_messages: