mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add Interaction.command and Interaction.namespace attributes
This commit is contained in:
1 parent
3c6daff473
commit
202b993da3
4 files changed
+140
-62
No files matched your search
@@ -25,7 +25,6 @@ DEALINGS IN THE SOFTWARE.
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, NamedTuple, Tuple
|
||||
from ..interactions import Interaction
|
||||
from ..member import Member
|
||||
from ..object import Object
|
||||
from ..role import Role
|
||||
@@ -35,6 +34,7 @@ from ..enums import AppCommandOptionType
|
||||
from .models import AppCommandChannel, AppCommandThread
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from ..interactions import Interaction
|
||||
from ..types.interactions import ResolvedData, ApplicationCommandInteractionDataOption
|
||||
|
||||
__all__ = ('Namespace',)
|
||||
|
||||
Reference in new issue
Block a user