aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-04-22 21:59:29 +0100
committerGravatar Chris <[email protected]>2021-04-22 21:59:29 +0100
commitc837894af55deafff478bf8aa3b115d4589b6e07 (patch)
treea87c1b927655c2d1e7f012239ee8352fb4670965 /bot
parentRemove unnecessary underscores from variables in the bm command (diff)
Only use WrappedMessageConverter in the actual command signature
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/evergreen/bookmark.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/bookmark.py b/bot/exts/evergreen/bookmark.py
index 16919d8c..f0b828f8 100644
--- a/bot/exts/evergreen/bookmark.py
+++ b/bot/exts/evergreen/bookmark.py
@@ -22,7 +22,7 @@ class Bookmark(commands.Cog):
self.bot = bot
@staticmethod
- def build_bookmark_dm(target_message: WrappedMessageConverter, title: str) -> discord.Embed:
+ def build_bookmark_dm(target_message: discord.Message, title: str) -> discord.Embed:
"""Builds the embed to DM the bookmark requester."""
embed = discord.Embed(
title=title,
@@ -51,7 +51,7 @@ class Bookmark(commands.Cog):
self,
channel: discord.TextChannel,
user: discord.Member,
- target_message: WrappedMessageConverter,
+ target_message: discord.Message,
title: str
) -> None:
"""Sends the bookmark DM, or sends an error embed when a user bookmarks a message."""
@@ -67,7 +67,7 @@ class Bookmark(commands.Cog):
@staticmethod
async def send_reaction_embed(
channel: discord.TextChannel,
- target_message: WrappedMessageConverter
+ target_message: discord.Message
) -> discord.Message:
"""Sends an embed, with a reaction, so users can react to bookmark the message too."""
message = await channel.send(