diff options
| author | 2021-03-29 12:28:40 +0100 | |
|---|---|---|
| committer | 2021-03-29 12:28:40 +0100 | |
| commit | a308990d1432a1a29f54e74678630f374a5fac2c (patch) | |
| tree | c61a81973268a6b2ef5cfa292e178f3583ff3a0a /bot | |
| parent | Update phrasing of comments in bookmark command (diff) | |
Fix spelling and grammar errors in bookmark command
Co-authored-by: Shivansh-007 <[email protected]>
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/exts/evergreen/bookmark.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/evergreen/bookmark.py b/bot/exts/evergreen/bookmark.py index bfb1e700..9246825a 100644 --- a/bot/exts/evergreen/bookmark.py +++ b/bot/exts/evergreen/bookmark.py @@ -22,7 +22,7 @@ class Bookmark(commands.Cog): @staticmethod def build_bookmark_dm(target_message: WrappedMessageConverter, title: str) -> discord.Embed: - """Builds the embed to DM the bookmark requestor.""" + """Builds the embed to DM the bookmark requester.""" embed = discord.Embed( title=title, description=target_message.content, @@ -36,10 +36,10 @@ class Bookmark(commands.Cog): @staticmethod def build_error_embed(user: discord.Member) -> discord.Embed: - """Builds an error embed for when a bookmark requestor has DMs disabled.""" + """Builds an error embed for when a bookmark requester has DMs disabled.""" return discord.Embed( title=random.choice(ERROR_REPLIES), - description=f"{user.mention}, please enable your DMs to receive the bookmark", + description=f"{user.mention}, please enable your DMs to receive the bookmark.", colour=Colours.soft_red ) @@ -126,7 +126,7 @@ class Bookmark(commands.Cog): except asyncio.TimeoutError: log.debug("Timed out waiting for a reaction") break # No reactions for the last `TIMEOUT` seconds - log.trace(f"{user} has sucessfully bookmarked from a reaction, attempting to DM them.") + log.trace(f"{user} has successfully bookmarked from a reaction, attempting to DM them.") await self.action_bookmark(ctx.channel, user, target_message, title) bookmarked_users.append(user.id) |