asGuildScheduledEvent

open suspend override fun asGuildScheduledEvent(): GuildScheduledEvent(source)

Requests to get this behavior as a GuildScheduledEvent.

Throws

if anything went wrong during the request.

if the event wasn't present.