Piecewise

Build chat bots with blocks

(property) time of scheduled event (schevent)

In Discord → Scheduled Events

Jump to block

Get the start or end time of a scheduled event.

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

Parameters

Parameter name Parameter type Required? Description
property any Define whether to get the start or end time.
schevent schevent The event to get the start/end time of.

Output

date - The start/end time of the event, as a date, or null if undefined or not applicable