aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2019-12-10 19:39:58 +0100
committerGravatar kwzrd <[email protected]>2019-12-10 19:39:58 +0100
commit7fd3ac9ecac7926744e5ec1c194085a62bc4bc22 (patch)
tree663e60dcaa7906cdcb276e02459f7db3c702b822
parentAdjust hyperlink text (diff)
Refactor function signature
Code style is now consistent with the bot repo.
-rw-r--r--bot/seasons/evergreen/bookmark.py9
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}'")