Sign In

stageInstanceCreate

This event is fired when a stage is created

v1.4.0+

Register the event

Enable stageInstanceCreate in events and include the required gateway intents in your ForgeClient options in index.js:

const { ForgeClient } = require("@tryforge/forgescript")

const client = new ForgeClient({
  events: [
    "stageInstanceCreate"
  ],
  intents: [
    "Guilds"
  ]
})

Handle the event

Listen and react when stageInstanceCreate is triggered using an inline command or an external handler file:

client.commands.add({
  type: "stageInstanceCreate",
  code: `$log[stageInstanceCreate event was triggered!]`
})

Required Intents

Listening to this event requires:
Guilds

Was this page helpful?