From bce2b8bbcb082784b7cc4710f37a30271a26bf2b Mon Sep 17 00:00:00 2001 From: AG_1436 <45149585+AG4lyf@users.noreply.github.com> Date: Sat, 7 Dec 2019 19:56:35 +0530 Subject: Added better info, Added usage logging. --- bot/seasons/evergreen/bookmark.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot') 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: -- cgit v1.2.3