File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 58
58
"ContextMenuCommand" ,
59
59
"UserCommand" ,
60
60
"MessageCommand" ,
61
+ "command" ,
62
+ "application_command" ,
63
+ "slash_command" ,
64
+ "user_command" ,
65
+ "message_command" ,
66
+ "has_role" ,
67
+ "has_any_role" ,
68
+ "is_user" ,
69
+ "is_owner" ,
70
+ "permission" ,
61
71
)
62
72
63
73
def wrap_callback (coro ):
Original file line number Diff line number Diff line change @@ -459,15 +459,15 @@ def discord_certified_moderator(self):
459
459
460
460
@flag_value
461
461
def bot_http_interactions (self ):
462
- """:class:`bool`: Returns ``True`` if is a bot http interaction .
462
+ """:class:`bool`: Returns ``True`` if the bot has set an interactions endpoint url .
463
463
464
464
.. versionadded:: 2.0
465
465
"""
466
466
return UserFlags .bot_http_interactions .value
467
467
468
468
@flag_value
469
469
def spammer (self ):
470
- """:class:`bool`: Returns ``True`` if the user is flagged as spammer.
470
+ """:class:`bool`: Returns ``True`` if the user is disabled for being a spammer.
471
471
472
472
.. versionadded:: 2.0
473
473
"""
You can’t perform that action at this time.
0 commit comments