diff options
| author | 2021-03-30 21:22:06 +0100 | |
|---|---|---|
| committer | 2021-03-30 21:22:06 +0100 | |
| commit | c082ab627c4a4ecf5e497f85b1424f78c73c2120 (patch) | |
| tree | 7089900e40d79457c8e2147e73fcf771da0d2376 | |
| parent | Make bookmark emoji a constant (diff) | |
Consistent comments in bookmark command
Co-authored-by: Xithrius <[email protected]>
| -rw-r--r-- | bot/exts/evergreen/bookmark.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/bookmark.py b/bot/exts/evergreen/bookmark.py index 59e2c9d0..2088c610 100644 --- a/bot/exts/evergreen/bookmark.py +++ b/bot/exts/evergreen/bookmark.py @@ -130,7 +130,8 @@ 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 # No reactions for the last `TIMEOUT` seconds + # 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) |