From 7fd3ac9ecac7926744e5ec1c194085a62bc4bc22 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Tue, 10 Dec 2019 19:39:58 +0100 Subject: Refactor function signature Code style is now consistent with the bot repo. --- bot/seasons/evergreen/bookmark.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bot') diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py index bd40993a..ccff149c 100644 --- a/bot/seasons/evergreen/bookmark.py +++ b/bot/seasons/evergreen/bookmark.py @@ -17,10 +17,11 @@ class Bookmark(commands.Cog): @commands.command(name="bookmark", aliases=("bm", "pin")) async def bookmark( - self, - ctx: commands.Context, - target_message: discord.Message, - *, title: str = "Bookmark" + self, + ctx: commands.Context, + target_message: discord.Message, + *, + 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}'") -- cgit v1.2.3