Fix various typos

This commit is contained in:
Nihaal Sangha authored and GitHub committed 2022-02-27 21:19:19 -05:00
1 parent 32f131566f
commit 90cabd1673
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ class BucketType(Enum):
# we return the channel id of a private-channel as there are only roles in guilds
# and that yields the same result as for a guild with only the @everyone role
# NOTE: PrivateChannel doesn't actually have an id attribute but we assume we are
# recieving a DMChannel or GroupChannel which inherit from PrivateChannel and do
# receiving a DMChannel or GroupChannel which inherit from PrivateChannel and do
return (msg.channel if isinstance(msg.channel, PrivateChannel) else msg.author.top_role).id # type: ignore
def __call__(self, msg: Message) -> Any: