aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Robin5605 <[email protected]>2023-04-26 19:17:37 -0500
committerGravatar Robin5605 <[email protected]>2023-04-26 19:17:37 -0500
commitd1702b5f7618402d308a020d9cb8c04e399c49d4 (patch)
tree1ec397db25fd7a1d4379e5fb455a3e8226b666f9 /bot
parentAppend only on else block (diff)
nit
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/utilities/bookmark.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/utilities/bookmark.py b/bot/exts/utilities/bookmark.py
index 0c1607bd..0b7ce429 100644
--- a/bot/exts/utilities/bookmark.py
+++ b/bot/exts/utilities/bookmark.py
@@ -27,9 +27,9 @@ async def dm_bookmark(
title: str,
) -> None:
"""
- Sends the `target_message` as a bookmark to the `target_user` DMs, with `title` as the embed title..
+ Sends the `target_message` as a bookmark to the `target_user` DMs, with `title` as the embed title.
- Raises ``discord.Forbidden`` if the user's DMs are closed.
+ Raises `discord.Forbidden` if the user's DMs are closed.
"""
embed = Bookmark.build_bookmark_dm(target_message, title)
message_url_view = discord.ui.View().add_item(
@@ -40,7 +40,7 @@ async def dm_bookmark(
class SendBookmark(discord.ui.View):
- """The button that sends the bookmark to other users."""
+ """The button that sends a bookmark to other users."""
def __init__(
self,