FlowDiscord is a lightweight library for creating Discord bots in Flow. It allows sending messages, DMs, embeds, buttons, and provides simple event and intents handling.
First, download FlowLib: https://github.com/HaxelDev/FlowLib
Then install FlowDiscord via FlowLib:
flowlib install FlowDiscord https://github.com/HaxelDev/FlowDiscord 1.0.0After that, import it in your project!
import "lib::FlowDiscord"
let bot = FlowDiscord.new("YOUR_BOT_TOKEN")
bot.onReady = func() {
print("Bot is ready!")
}
bot.onMessage = func(msg) {
if msg.content == "!ping" {
call bot.replyMessage(msg.channel_id, msg.id, "Pong!")
}
}
call bot.connect()
MIT License © 2025 Developed by HaxelDev