Skip to content

Commit

Permalink
docs: add new logic notation
Browse files Browse the repository at this point in the history
  • Loading branch information
i0bs committed Aug 7, 2023
1 parent 859cdca commit c590d03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion interactions/models/internal/application_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,9 @@ def modal_callback(*custom_id: str | re.Pattern) -> Callable[[AsyncCallable], Mo
Your callback will be given a single argument, `ModalContext`
Note:
This can optionally take a regex pattern, which will be used to match against the custom ID of the modal
This can optionally take a regex pattern, which will be used to match against the custom ID of the modal.
If you do not supply a `custom_id`, the name of the coroutine will be used instead.
Args:
Expand Down

0 comments on commit c590d03

Please sign in to comment.