From 148750f3e7194ed142a78a677cf82bf93e84aece Mon Sep 17 00:00:00 2001 From: AG_1436 <45149585+AG4lyf@users.noreply.github.com> Date: Mon, 9 Dec 2019 19:20:05 +0530 Subject: K and R styling. replaced title with hints --- bot/seasons/evergreen/bookmark.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bot') 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, -- cgit v1.2.3