aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMrKomodoDragon <[email protected]>2021-05-27 19:34:31 -0700
committerGitHub <[email protected]>2021-05-27 22:34:31 -0400
commit77ed4761293f402fade7e9edfa8ae6210b3ca1b4 (patch)
tree4bddd09996b8ac027aa42aed3b8bfdeeafe8a3f5 /docs
parentButton labels can be None (diff)
downloaddiscord.py-77ed4761293f402fade7e9edfa8ae6210b3ca1b4.tar.xz
discord.py-77ed4761293f402fade7e9edfa8ae6210b3ca1b4.zip
Fix extraneous colons in the documentation for ButtonStyle
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 50ccfe1f..72faae7b 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -1231,19 +1231,19 @@ of :class:`enum.Enum`.
.. versionadded:: 2.0
- .. attribute:: primary::
+ .. attribute:: primary
Represents a blurple button for the primary action.
- .. attribute:: secondary::
+ .. attribute:: secondary
Represents a grey button for the secondary action.
- .. attribute:: success::
+ .. attribute:: success
Represents a green button for a successful action.
- .. attribute:: danger::
+ .. attribute:: danger
Represents a red button for a dangerous action.
- .. attribute:: link::
+ .. attribute:: link
Represents a link button.