PycordViews 1.2.6__tar.gz → 1.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pycordviews-1.2.6 → pycordviews-1.2.7}/PKG-INFO +1 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/PycordViews.egg-info/PKG-INFO +1 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/__init__.py +2 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/kit/confirm.py +1 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/kit/poll.py +1 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/multibot/multibot.py +1 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/setup.py +1 -1
- {pycordviews-1.2.6 → pycordviews-1.2.7}/LICENSE +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/PycordViews.egg-info/SOURCES.txt +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/PycordViews.egg-info/dependency_links.txt +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/PycordViews.egg-info/requires.txt +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/PycordViews.egg-info/top_level.txt +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/README.md +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/kit/__init__.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/menu/__init__.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/menu/errors.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/menu/menu.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/menu/selectMenu.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/multibot/__init__.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/multibot/bot.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/multibot/errors.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/multibot/process.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/pagination/__init__.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/pagination/errors.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/pagination/page.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/pagination/pagination_view.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/views/__init__.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/views/easy_modified_view.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pycordViews/views/errors.py +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/pyproject.toml +0 -0
- {pycordviews-1.2.6 → pycordviews-1.2.7}/setup.cfg +0 -0
@@ -1,5 +1,6 @@
|
|
1
1
|
from .views.easy_modified_view import EasyModifiedViews
|
2
|
-
from .
|
2
|
+
from .modal.easy_modal_view import EasyModal
|
3
|
+
from .pagination.pagination_view import Pagination, Page
|
3
4
|
from .multibot import Multibot
|
4
5
|
from .menu.selectMenu import SelectMenu
|
5
6
|
from .menu.menu import Menu, CustomSelect
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from ..views.easy_modified_view import EasyModifiedViews
|
3
|
-
from discord import Interaction, ButtonStyle
|
3
|
+
from discord import Interaction, ButtonStyle
|
4
4
|
from discord.ui import Button
|
5
5
|
from asyncio import wait_for, Future, get_event_loop, TimeoutError
|
6
6
|
|
@@ -87,7 +87,7 @@ class Poll:
|
|
87
87
|
:param emoji: Button emoji
|
88
88
|
:param row: Button row
|
89
89
|
:param style: Button style
|
90
|
-
:param
|
90
|
+
:param _callable: Asynchronous function linked to the button interaction. It's called when the button is pressed
|
91
91
|
"""
|
92
92
|
self.__button_no.emoji = emoji if emoji is not None else self.__button_no.emoji
|
93
93
|
self.__button_no.style = style if style is not None else self.__button_no.style
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|