Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 63e3cbf

Browse files
committed
Update README
1 parent 4acfd8b commit 63e3cbf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ Notes
4646
Notably, ``ctx.message`` does not exist, because slash commands can be run
4747
completely without the involvement of messages. However, channel and author
4848
information is still available.
49+
* On the other hand, ``discord.ext.slash.ComponentContext`` does have a
50+
``discord.ext.slash.ComponentContext.message`` attribute
51+
available to message component callbacks.
4952
* All descriptions are **required**.
50-
* You must grant the bot ``applications.commands`` permissions in the OAuth2 section of the developer dashboard.
53+
* You must grant the bot ``applications.commands`` permissions in the OAuth2
54+
section of the developer dashboard.
5155

52-
See the `docs <https://discord-ext-slash.rtfd.io>`_.
56+
See the `docs <https://discord-ext-slash.rtfd.io>`_ as well as the
57+
`demo bot <https://github.com/Kenny2github/discord-ext-slash/blob/main/demo_bot.py>`_.

0 commit comments

Comments
 (0)