remove discord default channel

This commit is contained in:
brandons209 2020-07-03 16:20:19 -04:00
parent eef391c268
commit b537280aa8
2 changed files with 0 additions and 8 deletions

View file

@ -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:

View file

@ -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: