aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2019-12-09 22:13:42 +0100
committerGravatar kwzrd <[email protected]>2019-12-09 22:13:42 +0100
commit03c546d0324db112b802327462cfeb9b466ea70f (patch)
tree7adcf4fc254ed4da277ce6ca59a01e96f1f6e138
parentRespond with a reaction on success (diff)
Improve default title value and log message
The title now defaults to Bookmark and is logged surrounded by single quotes to make it clear which part is the title.
-rw-r--r--bot/seasons/evergreen/bookmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py
index 0c720e7e..f4d9b1b9 100644
--- a/bot/seasons/evergreen/bookmark.py
+++ b/bot/seasons/evergreen/bookmark.py
@@ -20,7 +20,7 @@ class Bookmark(commands.Cog):
self,
ctx: commands.Context,
target_message: discord.Message,
- *, title: str = None
+ *, title: str = "Bookmark"
) -> None:
"""Send the author a link to `target_message` via DMs."""
log.info(f"{ctx.author} bookmarked {target_message.jump_url} with title {title}")