aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar AG_1436 <[email protected]>2019-12-09 19:20:05 +0530
committerGravatar GitHub <[email protected]>2019-12-09 19:20:05 +0530
commit148750f3e7194ed142a78a677cf82bf93e84aece (patch)
treedd742811319c87fe8060aa90ec53c1fbf66cf4c3 /bot
parentChanged how title behave when None (diff)
K and R styling. replaced title with hints
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/evergreen/bookmark.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py
index 10ea4fe9..bbe362aa 100644
--- a/bot/seasons/evergreen/bookmark.py
+++ b/bot/seasons/evergreen/bookmark.py
@@ -16,10 +16,11 @@ class Bookmark(commands.Cog):
self.bot = bot
@commands.command(name="bookmark", aliases=("bm", "pin"))
- async def bookmark(self, ctx: commands.Context, target_message: discord.Message, *,
+ async def bookmark(self, ctx: commands.Context,
+ target_message: discord.Message, *,
title: str = None) -> None:
"""Send you a link to the provided message in DM."""
- log.info(f"{ctx.author} bookmarked {target_message.jump_url} with hints {title}.")
+ log.info(f"{ctx.author} bookmarked {target_message.jump_url} with title {title}.")
embed = discord.Embed(
title=title,