Discord

abstract class Discord

Constructors

Link copied to clipboard
fun Discord()

Functions

Link copied to clipboard
inline fun <A : Any> getInjectionObjects(): A
inline fun <A : Any> getInjectionObjects(a: KClass<A>): A
inline fun <A : Any, B : Any> getInjectionObjects(a: KClass<A>, b: KClass<B>): Args2<A, B>
inline fun <A : Any, B : Any, C : Any> getInjectionObjects(    a: KClass<A>,     b: KClass<B>,     c: KClass<C>): Args3<A, B, C>
inline fun <A : Any, B : Any, C : Any, D : Any> getInjectionObjects(    a: KClass<A>,     b: KClass<B>,     c: KClass<C>,     d: KClass<D>): Args4<A, B, C, D>
inline fun <A : Any, B : Any, C : Any, D : Any, E : Any> getInjectionObjects(    a: KClass<A>,     b: KClass<B>,     c: KClass<C>,     d: KClass<D>,     e: KClass<E>): Args5<A, B, C, D, E>

Fetch an object from the DI pool by its type

Properties

Link copied to clipboard
abstract val commands: MutableList<Command>

All registered commands.

Link copied to clipboard
abstract val configuration: BotConfiguration

All configured values for this bot.

Link copied to clipboard
abstract val kord: Kord

A Kord instance used to access the Discord API.

Link copied to clipboard
abstract val locale: Locale

Locale (language and customizations).

Link copied to clipboard
val properties: CodeProperties

Properties for core and bot codebase.

Link copied to clipboard
abstract val subcommands: MutableList<SubCommandSet>

All registered subcommands.