diff options
author | 2019-12-10 19:39:58 +0100 | |
---|---|---|
committer | 2019-12-10 19:39:58 +0100 | |
commit | 7fd3ac9ecac7926744e5ec1c194085a62bc4bc22 (patch) | |
tree | 663e60dcaa7906cdcb276e02459f7db3c702b822 /bot | |
parent | Adjust hyperlink text (diff) |
Refactor function signature
Code style is now consistent with the bot repo.
Diffstat (limited to 'bot')
-rw-r--r-- | bot/seasons/evergreen/bookmark.py | 9 |
1 files changed, 5 insertions, 4 deletions
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}'")
|