GuildEvent

interface GuildEvent

Generic interface for custom events that can contain guild behaviors. Mostly used by checks.

Inheritors

Properties

Link copied to clipboard
abstract val guild: GuildBehavior?

The guild behavior for this event, if any.

Functions

Link copied to clipboard
abstract suspend fun getGuild(): Guild

Get a Guild object, or throw if one can't be retrieved.

Link copied to clipboard
abstract suspend fun getGuildOrNull(): Guild?

Get a Guild object, or return null if one can't be retrieved.