aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar AG_1436 <[email protected]>2019-12-09 00:55:42 +0530
committerGravatar GitHub <[email protected]>2019-12-09 00:55:42 +0530
commit42b39b83ec6fb593b655e8b36a88e5f135c94de0 (patch)
treea88f0657fb0c32898feb01b201a14246649c5edd
parentRemoved footer , Unnecessary line. Edited a string (diff)
Changed how title behave when None
-rw-r--r--bot/seasons/evergreen/bookmark.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/seasons/evergreen/bookmark.py b/bot/seasons/evergreen/bookmark.py
index 8d541ab6..10ea4fe9 100644
--- a/bot/seasons/evergreen/bookmark.py
+++ b/bot/seasons/evergreen/bookmark.py
@@ -17,13 +17,10 @@ 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") -> None:
+ 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}.")
- if not title:
- title = "No Title provided."
-
embed = discord.Embed(
title=title,
colour=Colours.soft_green,