$createScheduledEvent
$createScheduledEvent
will create a scheduled event.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | Where the event will be held. | true |
name | string | The event title | true |
description | string | The description of the event. | true |
startTime | string | When the event will start. | true |
endTime? | string | When the event will end. | false |
entityType? | string | Event Type. | false |
entityMetadata? | string | Event metadata. | false |
image? | string | Image/Thumbnail of the scheduled event. | false |
reason? | string | The reason which will be displayed in the guild’s audit logs. | false |