aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar AG_1436 <[email protected]>2019-12-07 19:56:35 +0530
committerGravatar GitHub <[email protected]>2019-12-07 19:56:35 +0530
commitbce2b8bbcb082784b7cc4710f37a30271a26bf2b (patch)
tree519b906cc8cb2f4d53fb7bc4e18b32bbd081257d /bot
parentrenamed error completely (diff)
Added better info, Added usage logging.
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/evergreen/bookmark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py
index d1077bd3..01214f98 100644
--- a/bot/seasons/evergreen/bookmark.py
+++ b/bot/seasons/evergreen/bookmark.py
@@ -17,7 +17,7 @@ class Bookmark(commands.Cog):
@commands.command(name="bookmark", aliases=("bm", "pin"))
async def bookmark(self, ctx: commands.Context, jump_url: str = None, *args) -> None:
- """Bookmarks a message."""
+ """Send you a link to the provided message in DM."""
if jump_url is not None and jump_url != "*":
if "discordapp.com/channels" not in jump_url:
embed_error = discord.Embed(
@@ -64,6 +64,7 @@ class Bookmark(commands.Cog):
await ctx.send(embed=embed_error)
return
await ctx.send("Sent you a DM!")
+ log.info(f"{ctx.author} Added a personal bookmark of {jump_url}.")
def setup(bot: commands.Bot) -> None: