WelcomeChannelConfig

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val defaultSerializersModule: SerializersModule
Link copied to clipboard
open val serializerBuilders: List<PolymorphicModuleBuilder<Block>.() -> Unit>

Functions

Link copied to clipboard
abstract suspend fun getLoggingChannel(channel: GuildMessageChannel, guild: Guild): GuildMessageChannel?

Get the configured logging channel for the given channel and guild.

Link copied to clipboard
abstract suspend fun getRefreshDelay(): Duration?
Link copied to clipboard
open suspend fun getSerializersModule(): SerializersModule

Get the configured serializer module, which may be modified if other blocks have been set up.

Link copied to clipboard
abstract suspend fun getStaffCommandChecks(): List<<Error class: unknown class><out <Error class: unknown class>>>

Get the configured staff command checks, used to ensure a staff-facing command can be run.