Piecewise

Build chat bots with blocks

create (privacy) event of type (type) in server (guild) with name (name) with description (description) starting at (start) ending at (end) in voice channel (channel) at location (location)

In Discord → Scheduled Events

Jump to block

Create an event.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
privacy any The privacy of the event.
type event_type The type of event.
guild guild The server to create the event in.
name String The name of the event.
description String A description of the event.
start date The start time of the event.
end date The end time of the event. Required if the event is an external event.
channel channel The voice or stage channel to join for the event. Required if the event is a stage or voice channel event.
location String The location of the event. Required if the event is an external event.

Output

void - This is a statement with no outputs