diff options
| author | 2021-03-28 23:30:32 +0100 | |
|---|---|---|
| committer | 2021-03-28 23:30:32 +0100 | |
| commit | 99a0fccf221ae9e365a76d9b8c6c330de6264c90 (patch) | |
| tree | 439b02f77f73e494223b1200453f01f2d10375a5 | |
| parent | Rework bookmark command to allow other users to bookmark the same message. (diff) | |
Update phrasing of comments in bookmark command
| -rw-r--r-- | bot/exts/evergreen/bookmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/bookmark.py b/bot/exts/evergreen/bookmark.py index d26c4845..bfb1e700 100644 --- a/bot/exts/evergreen/bookmark.py +++ b/bot/exts/evergreen/bookmark.py @@ -125,12 +125,12 @@ 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") - break # We're done, no reactions for the last 5 minutes + break # No reactions for the last `TIMEOUT` seconds log.trace(f"{user} has sucessfully 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 we're done with it. + # Delete the message now that the bot isn't listening to it to save screen space await reaction_message.delete() |