Guild Scheduled Event Create

Event triggerScheduled Event

Triggered when a guild scheduled event is created.

Outputs

Event ID

Scheduled event ID.

Example: 123456789012345678

Server ID

ID of the server for the event.

Example: 123456789012345678

Channel ID

Channel ID for Stage/Voice events.

Example: 234567890123456789

Creator User ID

User ID of the event creator.

Example: 345678901234567890

Name

Name of the scheduled event.

Example: Community Call

Description

Description of the scheduled event.

Example: Weekly community sync

Start Time (Unix)

Start time as Unix timestamp.

Example: 1700000000

End Time (Unix)

End time as Unix timestamp.

Example: 1700003600

Status

Status of the scheduled event.

Example: Scheduled

Type

Event type.

Example: Stage Instance

Subscribed User Count

Number of users subscribed to the event.

Example: 42

Build a bot using triggers like Guild Scheduled Event Create

Use this trigger in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: guild_scheduled_event_create

Outputs

FieldInventScript nameValue
Event IDevent_ide.g. "123456789012345678"
Server IDserver_ide.g. "123456789012345678"
Channel IDchannel_ide.g. "234567890123456789"
Creator User IDcreator_user_ide.g. "345678901234567890"
Namenamee.g. "Community Call"
Descriptiondescriptione.g. "Weekly community sync"
Start Time (Unix)start_time_unixe.g. "1700000000"
End Time (Unix)end_time_unixe.g. "1700003600"
Statusstatuse.g. "Scheduled"
Typetype_e.g. "Stage Instance"
Subscribed User Countsubscribed_user_counte.g. "42"

Example InventScript

var trigger = guild_scheduled_event_create()

func main() {
	send_text_message(Args{
		channel_id:      trigger.channel_id,
		message_content: "Event ID: " + trigger.event_id,
	})
}

More scheduled event triggers