File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 62
62
"application_command" ,
63
63
"slash_command" ,
64
64
"user_command" ,
65
- "message_command" ,
66
- "has_role" ,
67
- "has_any_role" ,
68
- "is_user" ,
69
- "is_owner" ,
70
- "permission" ,
65
+ "message_command"
71
66
)
72
67
73
68
def wrap_callback (coro ):
Original file line number Diff line number Diff line change 38
38
from ..user import User
39
39
from ..utils import cached_property
40
40
41
+ __all__ = (
42
+ "ApplicationContext"
43
+ )
41
44
42
45
class ApplicationContext (discord .abc .Messageable ):
43
46
"""Represents a Discord interaction context.
Original file line number Diff line number Diff line change 24
24
25
25
from ..errors import DiscordException
26
26
27
+ __all__ = (
28
+ "ApplicationCommandError" ,
29
+ "CheckFailure" ,
30
+ "ApplicationCommandInvokeError"
31
+ )
32
+
27
33
class ApplicationCommandError (DiscordException ):
28
34
r"""The base exception type for all application command related errors.
29
35
You can’t perform that action at this time.
0 commit comments