Skip to content

Commit 5c9dd6a

Browse files
authored
Update README.rst
1 parent 0b06e5f commit 5c9dd6a

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

README.rst

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@ discord.py-message-components
22
=============================
33

44
.. image:: https://discord.com/api/guilds/720395641255100528/embed.png
5-
:target: https://discord.gg/cqRR42pxHW
6-
:alt: Discord Server Invite
5+
:target: https://discord.gg/cqRR42pxHW
6+
:alt: Discord Server Invite
77
.. image:: https://img.shields.io/pypi/v/discord.py-message-components.svg
8-
:target: https://pypi.python.org/pypi/discord.py-message-components
9-
:alt: PyPI version info
8+
:target: https://pypi.python.org/pypi/discord.py-message-components
9+
:alt: PyPI version info
1010
.. image:: https://img.shields.io/pypi/pyversions/discord.py-message-components.svg
11-
:target: https://pypi.python.org/pypi/discord.py-message-components
12-
:alt: PyPI supported Python versions
11+
:target: https://pypi.python.org/pypi/discord.py-message-components
12+
:alt: PyPI supported Python versions
1313
.. image:: https://static.pepy.tech/personalized-badge/discord-py-message-components?period=total&units=international_system&left_color=grey&right_color=green&left_text=Downloads
14-
:target: https://pepy.tech/project/discord.py-message-components
15-
:alt: Total downloads for the project
14+
:target: https://pepy.tech/project/discord.py-message-components
15+
:alt: Total downloads for the project
1616

1717
The Original `discord.py <https://pypi.org/project/discord.py>`_ Libary made by `Rapptz <https://github.com/Rapptz>`_ with implementation of the `Discord-Message-Components <https://discord.com/developers/docs/interactions/message-components>`_ by `mccoderpy <https://github.com/mccoderpy/>`_
1818

1919
(`discord <https://discord.com/channels/@me>`_-User ``mccuber04#2960``)
2020

21-
Questions, Bugs or Ideas?
22-
___________________
21+
Questions, Bugs or Ideas
22+
________________________
2323

24-
Open a Pull request on `GitHub <https://github.com/mccoderpy/discord.py-message-components/pulls>`_, join the `support-Server <https://discord.gg/cqRR42pxHW>`_ or send me a direct-message on `Discord <https://discord.com/channels/@me>`_: ``mccuber04#2960``
24+
Open a Issue/Pull request on `GitHub <https://github.com/mccoderpy/discord.py-message-components/pulls>`_, join the `support-Server <https://discord.gg/cqRR42pxHW>`_ or send me a direct-message on `Discord <https://discord.com/channels/@me>`_: ``mccuber04#2960``
2525

2626
Installing
2727
__________
2828

2929
**Python 3.5.3 or higher is required**
3030

31-
first uninstall the original `discord.py <https://pypi.org/project/discord.py/>`_ Libary:
31+
first uninstall the original `discord.py <https://pypi.org/project/discord.py>`_ Libary:
3232

3333
.. code:: sh
3434
@@ -52,7 +52,7 @@ Examples
5252
--------
5353

5454
A Command that sends you a Message and edit it when you click a Button:
55-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5656

5757
.. code-block:: python
5858
@@ -71,12 +71,12 @@ A Command that sends you a Message and edit it when you click a Button:
7171
async def buttons(ctx: commands.Context):
7272
components = [ActionRow(Button(label='Option Nr.1',
7373
custom_id='option1',
74-
emoji='1️⃣',
74+
emoji="🆒",
7575
style=ButtonColor.green
7676
),
7777
Button(label='Option Nr.2',
7878
custom_id='option2',
79-
emoji='2️⃣',
79+
emoji="🆗",
8080
style=ButtonColor.blurple)),
8181
ActionRow(Button(label='A Other Row',
8282
custom_id='sec_row_1st option',
@@ -104,10 +104,9 @@ A Command that sends you a Message and edit it when you click a Button:
104104
105105
client.run('You Bot-Token here')
106106
107-
Another (complex) Example where a small Embed will be send; you can move a small white ⬜ with the Buttons:
108-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109-
110107
108+
Another (complex) Example where a small Embed will be send; you can move a small white ⬜ with the Buttons:
109+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111110
.. code-block:: python
112111
113112
pointers = []

0 commit comments

Comments
 (0)