disunity
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: disunity | ||
| Version: 0.1.16 | ||
| Version: 0.1.17 | ||
| Summary: Python framework for Discord interactions using a web server | ||
@@ -5,0 +5,0 @@ Author: Tadeo Murillo, |
+1
-1
@@ -13,3 +13,3 @@ [build-system] | ||
| name = "disunity" | ||
| version = "0.1.16" | ||
| version = "0.1.17" | ||
| authors = [ | ||
@@ -16,0 +16,0 @@ {name="Tadeo Murillo"}, |
| Metadata-Version: 2.1 | ||
| Name: disunity | ||
| Version: 0.1.16 | ||
| Version: 0.1.17 | ||
| Summary: Python framework for Discord interactions using a web server | ||
@@ -5,0 +5,0 @@ Author: Tadeo Murillo, |
@@ -23,8 +23,8 @@ from __future__ import annotations | ||
| ---------- | ||
| components : list[Button | SelectMenu | Modal] | ||
| components : list[Button | SelectMenu | UserTextInput] | ||
| Components to be contained within the action row. Limited to 5 buttons per action row | ||
| or 1 select menu per action row. | ||
| or 1 select menu per action row. UserTextInput can only be used in a modal. | ||
| """ | ||
| def __init__(self, components: list[Button | SelectMenu | Modal | UserTextInput]): | ||
| def __init__(self, components: list[Button | SelectMenu | UserTextInput]): | ||
| self.dict = { | ||
@@ -230,2 +230,3 @@ "type": 1, | ||
| The inputs to ask the user. | ||
| Automatically put into ActionRow. | ||
| """ | ||
@@ -232,0 +233,0 @@ |
@@ -37,3 +37,4 @@ from .. import embed, errors, utils | ||
| components: List[ActionRow] | ActionRow: | ||
| List of components to send. | ||
| List of components to send | ||
| Modal can't be used here | ||
| allowed_mentions: list | ||
@@ -87,2 +88,3 @@ Allowed mentions of the message | ||
| List of components to send with the message | ||
| Modal can't be used here | ||
| attachments: List[Attachment] | Attachment | ||
@@ -142,2 +144,3 @@ List of attachments to send with the message | ||
| Responds to the interaction with a modal. | ||
| The interaction can't be previously acknowledged. | ||
@@ -144,0 +147,0 @@ Parameters |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
61988
0.35%1386
0.29%