aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/channel.py')
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 67a66045..8968b42d 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -108,7 +108,7 @@ class Channel(Hashable):
self._permission_overwrites = []
everyone_index = 0
- everyone_id = self.server.default_role.id
+ everyone_id = self.server.id
for index, overridden in enumerate(kwargs.get('permission_overwrites', [])):
overridden_id = overridden['id']