-
Notifications
You must be signed in to change notification settings - Fork 237
Stage Instances
Alexander Maassen edited this page May 22, 2023
·
1 revision
Requires the Intents::GUILDS
intent.
Called with a StageInstance
object when a stage instance is created (i.e. the Stage is now "live").
$discord->on(Event::STAGE_INSTANCE_CREATE, function (StageInstance $stageInstance, Discord $discord) {
// ...
});
Called with a StageInstance
objects when a stage instance has been updated.
$discord->on(Event::STAGE_INSTANCE_UPDATE, function (StageInstance $stageInstance, Discord $discord, ?StageInstance $oldStageInstance) {
// ...
});
Called with a StageInstance
object when a stage instance has been deleted (i.e. the Stage has been closed).
$discord->on(Event::STAGE_INSTANCE_DELETE, function (StageInstance $stageInstance, Discord $discord) {
// ...
});
Note: This wiki is currently Work In Progress. Consider reading the docs instead.
- Application Command (Slash based)
Command Client (Message based)
- Activity
- Application
- Guild
- Private Channel
- User
Components
-
ActionRow
- Buttons
- Option (commands)
- SelectMenu
- TextInput
Builders