Skip to content

Commit b5421ad

Browse files
authored
Fix syntax error
1 parent 8e42a64 commit b5421ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ def can_send(self, *objects) -> bool:
15531553
# Can't use channel = await self._get_channel() since its async
15541554
if hasattr(self, 'permissions_for'):
15551555
channel = self
1556-
elif hasattr(self, 'channel') and not type(self.channel).__name__ in ('DMChannel', 'GroupChannel')
1556+
elif hasattr(self, 'channel') and not type(self.channel).__name__ in ('DMChannel', 'GroupChannel'):
15571557
channel = self.channel
15581558
else:
15591559
return True # Permissions don't exist for User DMs

0 commit comments

Comments
 (0)