DiscordPHP Documentation

WebSockets

Interfaces, Classes, Traits and Enums

AutoModerationActionExecution
Sent when a rule is triggered and an action is executed (e.g. when a message is blocked).
MessageInteraction
Sent on the message object when the message is a response to an Interaction without an existing message.
MessageReaction
Represents a specific reaction to a message by a specific user.
PresenceUpdate
A PresenceUpdate part is used when the `PRESENCE_UPDATE` event is fired on the WebSocket. It contains information about the users presence such as their status (online/away) and their current game.
TypingStart
A TypingStart part is used when the `TYPING_START` event is fired on the WebSocket. It contains information such as when the event was fired and then channel it was fired in.
VoiceServerUpdate
Tells the client that the voice channel's server has changed.
VoiceStateUpdate
Notifies the client of voice state updates about users.

Search results