diff options
author | 2023-04-26 19:17:37 -0500 | |
---|---|---|
committer | 2023-04-26 19:17:37 -0500 | |
commit | d1702b5f7618402d308a020d9cb8c04e399c49d4 (patch) | |
tree | 1ec397db25fd7a1d4379e5fb455a3e8226b666f9 | |
parent | Append only on else block (diff) |
nit
-rw-r--r-- | bot/exts/utilities/bookmark.py | 6 |
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, |