Skip to content

Commit

Permalink
Change private message to direct message
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLovinator1 committed Apr 4, 2024
1 parent 58742a8 commit 6d17fe6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hikari/intents.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,24 +296,24 @@ class Intents(enums.Flag):
DM_MESSAGES = 1 << 12
"""Subscribes to the events listed below.
* `MESSAGE_CREATE` (in private message channels (non-guild bound) only)
* `MESSAGE_UPDATE` (in private message channels (non-guild bound) only)
* `MESSAGE_DELETE` (in private message channels (non-guild bound) only)
* `MESSAGE_CREATE` (in direct message channels (non-guild bound) only)
* `MESSAGE_UPDATE` (in direct message channels (non-guild bound) only)
* `MESSAGE_DELETE` (in direct message channels (non-guild bound) only)
"""

DM_MESSAGE_REACTIONS = 1 << 13
"""Subscribes to the events listed below.
* `MESSAGE_REACTION_ADD` (in private message channels (non-guild bound) only)
* `MESSAGE_REACTION_REMOVE` (in private message channels (non-guild bound) only)
* `MESSAGE_REACTION_REMOVE_ALL` (in private message channels (non-guild bound) only)
* `MESSAGE_REACTION_REMOVE_EMOJI` (in private message channels (non-guild bound) only)
* `MESSAGE_REACTION_ADD` (in direct message channels (non-guild bound) only)
* `MESSAGE_REACTION_REMOVE` (in direct message channels (non-guild bound) only)
* `MESSAGE_REACTION_REMOVE_ALL` (in direct message channels (non-guild bound) only)
* `MESSAGE_REACTION_REMOVE_EMOJI` (in direct message channels (non-guild bound) only)
"""

DM_MESSAGE_TYPING = 1 << 14
"""Subscribes to the events listed below.
* `TYPING_START` (in private message channels (non-guild bound) only)
* `TYPING_START` (in direct message channels (non-guild bound) only)
"""

MESSAGE_CONTENT = 1 << 15
Expand Down Expand Up @@ -375,7 +375,7 @@ class Intents(enums.Flag):
"""

ALL_DMS = DM_MESSAGES | DM_MESSAGE_TYPING | DM_MESSAGE_REACTIONS
"""All private message channel (non-guild bound) intents."""
"""All direct message channel (non-guild bound) intents."""

ALL_MESSAGES = DM_MESSAGES | GUILD_MESSAGES
"""All message intents."""
Expand Down

0 comments on commit 6d17fe6

Please sign in to comment.