diff --git a/test/example_bot.gleam b/test/example_bot.gleam index 3736ae6..9bc6fb6 100644 --- a/test/example_bot.gleam +++ b/test/example_bot.gleam @@ -59,9 +59,13 @@ fn event_handler(bot, packet: event_handler.Packet) { embed1, ]) } + "!reply" -> { + discord_gleam.reply(bot, message.d.channel_id, message.d.id, "Reply!", []) + } _ -> Nil } + case string.starts_with(message.d.content, "!kick ") { True -> { let args = string.split(message.d.content, " ")