Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit 82afb41

Browse files
committed
updated docs
1 parent 0f00798 commit 82afb41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discord_ui/receive.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,10 @@ async def wait_for(self, event_name: typing.Literal["select", "button"], client,
535535
-----------
536536
event_name: :class:`str`
537537
The name of the event which will be awaited [``"select"`` | ``"button"``]
538+
538539
.. note::
539540
540-
The event_name must be ``select`` for a select menu selection and ``button`` for a button press
541+
``event_name`` must be ``select`` for a select menu selection and ``button`` for a button press
541542
542543
client: :class:`discord.ext.commands.Bot`
543544
The discord client

0 commit comments

Comments
 (0)