Skip to content

Commit e58aa2a

Browse files
authored
Fix bobs shit (#329)
* Fix user flag description * Update commands.py
1 parent aa3ec7f commit e58aa2a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

discord/commands/commands.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@
5858
"ContextMenuCommand",
5959
"UserCommand",
6060
"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",
6171
)
6272

6373
def wrap_callback(coro):

discord/flags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,15 @@ def discord_certified_moderator(self):
459459

460460
@flag_value
461461
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.
463463
464464
.. versionadded:: 2.0
465465
"""
466466
return UserFlags.bot_http_interactions.value
467467

468468
@flag_value
469469
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.
471471
472472
.. versionadded:: 2.0
473473
"""

0 commit comments

Comments
 (0)