class

Crig::Integrations::DiscordBot::Client(M)

Inherits Reference < Object

Constants

DEFAULT_INTENTS = (Discord::Gateway::Intents::Guilds | Discord::Gateway::Intents::GuildMessages) | Discord::Gateway::Intents::DirectMessages

Constructors

new(token : String, agent : Crig::Agent(M), client_id : UInt64 | Nil = nil, intents : Discord::Gateway::Intents = DEFAULT_INTENTS)
Source

Instance methods

discord_client
Source
intents
Source
session
Source
stop
Source
token
Source