Fix various typos

This commit is contained in:
Nihaal Sangha
2022-02-28 02:19:19 +00:00
committed by GitHub
parent 32f131566f
commit 90cabd1673
3 changed files with 4 additions and 4 deletions

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: