Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

FlowDiscord

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.


📦 Installation

First, download FlowLib: https://github.com/HaxelDev/FlowLib

Then install FlowDiscord via FlowLib:

flowlib install FlowDiscord https://github.com/HaxelDev/FlowDiscord 1.0.0

After that, import it in your project!

⚙️ Example Simple Bot

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()

📜 License

MIT License © 2025 Developed by HaxelDev

About

A lightweight Discord library for Flow, providing easy access to the Discord Gateway and API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors