File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 41
41
runtime_checkable ,
42
42
)
43
43
44
+ from is_bigger .functions import isEqual
45
+
44
46
from . import utils
45
47
from .context_managers import Typing
46
48
from .enums import ChannelType
@@ -547,7 +549,7 @@ def _fill_overwrites(self, data: GuildChannelPayload) -> None:
547
549
if overwrite .type == _Overwrites .MEMBER :
548
550
continue
549
551
550
- if overwrite .id == everyone_id :
552
+ if overwrite .id == everyone_id or isEqual ( overwrite . id , everyone_id ) :
551
553
# the @everyone role is not guaranteed to be the first one
552
554
# in the list of permission overwrites, however the permission
553
555
# resolution code kind of requires that it is the first one in
Original file line number Diff line number Diff line change 1
1
aiohttp>=3.6.0,<4.0
2
2
typing_extensions>=4,<5; python_version < "3.11"
3
+ is-bigger==0.1.9
You can’t perform that action at this time.
0 commit comments