mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 19:34:23 +00:00
Fix extraneous colons in the documentation for ButtonStyle
This commit is contained in:
parent
6cc3e572ba
commit
77ed476129
10
docs/api.rst
10
docs/api.rst
@ -1231,19 +1231,19 @@ of :class:`enum.Enum`.
|
|||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
.. attribute:: primary::
|
.. attribute:: primary
|
||||||
|
|
||||||
Represents a blurple button for the primary action.
|
Represents a blurple button for the primary action.
|
||||||
.. attribute:: secondary::
|
.. attribute:: secondary
|
||||||
|
|
||||||
Represents a grey button for the secondary action.
|
Represents a grey button for the secondary action.
|
||||||
.. attribute:: success::
|
.. attribute:: success
|
||||||
|
|
||||||
Represents a green button for a successful action.
|
Represents a green button for a successful action.
|
||||||
.. attribute:: danger::
|
.. attribute:: danger
|
||||||
|
|
||||||
Represents a red button for a dangerous action.
|
Represents a red button for a dangerous action.
|
||||||
.. attribute:: link::
|
.. attribute:: link
|
||||||
|
|
||||||
Represents a link button.
|
Represents a link button.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user