diff options
-rw-r--r-- | bot/exts/evergreen/bookmark.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/exts/evergreen/bookmark.py b/bot/exts/evergreen/bookmark.py index 5f550a4a..7a97a40d 100644 --- a/bot/exts/evergreen/bookmark.py +++ b/bot/exts/evergreen/bookmark.py @@ -24,7 +24,7 @@ class Bookmark(commands.Cog): @staticmethod def build_bookmark_dm(target_message: discord.Message, title: str) -> discord.Embed: - """Builds the embed to DM the bookmark requester.""" + """Build the embed to DM the bookmark requester.""" embed = discord.Embed( title=title, description=target_message.content, @@ -131,13 +131,11 @@ class Bookmark(commands.Cog): _, user = await self.bot.wait_for("reaction_add", timeout=TIMEOUT, check=event_check) except asyncio.TimeoutError: log.debug("Timed out waiting for a reaction") - # No reactions for the last `TIMEOUT` seconds break 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) - # Delete the message now that the bot isn't listening to it to save screen space await reaction_message.delete() |