discord_gleam/event_handler
Types
pub type EventHandler =
fn(bot.Bot, Packet) -> Nil
Functions
pub fn handle_event(
bot: Bot,
msg: String,
handlers: List(fn(Bot, Packet) -> Nil),
) -> Nil
pub type EventHandler =
fn(bot.Bot, Packet) -> Nil
pub fn handle_event(
bot: Bot,
msg: String,
handlers: List(fn(Bot, Packet) -> Nil),
) -> Nil