- π§ AI Chat β Natural and cheeky replies like Aira from Dandadan
- π Tasks β Auto-performs Discord actions (kick, ban, DM, assign role, etc.)
- πΌοΈ Embeds β Sends beautiful responses with titles, thumbnails, and images
- π Queue System β Executes all tasks asynchronously and in order
- π€ Zero Slash Needed β Just mention the bot and it does the rest
Replace these image links with real bot screenshots in
.github/assets
airo/
βββ bot/
β βββ discord/ # DiscordGo
β βββ lib/ # AI prompts, JSON parsing, utilities
β βββ tasks/ # Task queue + execution logic
β βββ main.go # Bot entry point
βββ .env # Local environment vars (OPENAPI key, Discord token)
βββ go.mod # Go module definition
git clone https://github.com/jayydoesdev/airo.git
cd airo
Create a .env
file in the root:
ANTHROPIC_API_KEY=your_anthroptic_api_key
OPENAI_API_KEY=your_openai_api_key
DISCORD_BOT_TOKEN=your_bot_token
GUILD_ID=your_guild_id
Ensure you enable MESSAGE CONTENT INTENT and GUILD MEMBERS INTENT in the Discord Developer Portal.
go run main.go
Your bot speaks with flair and includes hidden JSON instructions like this:
Whoa whoaβsomeone's getting kicked. πΏ
{
"response_type": "message",
"response": "Request handled. Try not to cause chaos again.",
"tasks": [
{
"action": "kick_user",
"target_user": "123456789012345678",
"reason": "spamming"
},
{
"action": "dm_user",
"target_user": "123456789012345678",
"dm_content": "You've been kicked from the server. Maybe calm down a bit next time?"
}
]
}
Action | Description |
---|---|
kick_user |
Kicks a member from the server |
ban_user |
Bans a member |
assign_role |
Gives a user a role |
remove_role |
Removes a role from a user |
dm_user |
Sends a private message |
list_user_roles |
Lists roles for a specific member |
- Slash command integration
- Message logging
- Custom prompts per server
- Local file-based config + admin interface
Contributions, PRs, and sarcastic comments welcome.
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License β see LICENSE for details.
Airo is inspired by Aira from Dandadan β chaotic, funny, and a little too smart for her own good.