pub fn ban_member(
bot: Bot,
guild_id: String,
user_id: String,
reason: String,
) -> #(String, String)
pub fn bot(token: String, intents: Intents) -> Bot
pub fn delete_message(
bot: Bot,
channel_id: String,
message_id: String,
reason: String,
) -> #(String, String)
pub fn interaction_reply_message(
interaction: InteractionCreate,
message: String,
ephemeral: Bool,
) -> #(String, String)
pub fn kick_member(
bot: Bot,
guild_id: String,
user_id: String,
reason: String,
) -> #(String, String)
pub fn register_global_commands(
bot: Bot,
client_id: String,
commands: List(SlashCommand),
) -> Nil
pub fn register_guild_commands(
bot: Bot,
client_id: String,
guild_id: String,
commands: List(SlashCommand),
) -> Nil
pub fn reply(
bot: Bot,
channel_id: String,
message_id: String,
message: String,
embeds: List(Embed),
) -> Nil
pub fn run(
bot: Bot,
event_handlers: List(fn(Bot, Packet) -> Nil),
) -> Nil
pub fn send_message(
bot: Bot,
channel_id: String,
message: String,
embeds: List(Embed),
) -> Nil
pub fn wipe_global_commands(
bot: Bot,
client_id: String,
) -> #(String, String)
pub fn wipe_guild_commands(
bot: Bot,
client_id: String,
guild_id: String,
) -> #(String, String)