WoBot comes with a ton of features, including:
- create a Discord Event, a thread and allow RSVP via reactions with a single command
- export all events to your calendar (works on mobile)
add
,rename
andremove
upload
to convert images into emojiscopy
emojis from other servers to your own
simply react with the emojis you want
- Obama: when someone congratulates themselves
- Cutie Pie: tell your friends how cute they are
store anything you like
schedule whatever you like for later
- know what's up for lunch
- show the next available plan
- automatically skips weekends
- find your friends
Not yet convinced? Have some images:
If you have a great idea or suggestion, feel free to open an issue.
If you want a feature right now and can code, open a pull request.
Please make sure to run cargo fmt
before committing.
- Create a Discord Bot on the Discord Developer Portal
- Copy the
DISCORD_TOKEN
- Invite the bot to your server with all permissions you need (
ADMINISTRATOR
is the easiest).
- Install Rust
- Run the bot with
DISCORD_TOKEN='<your token>' cargo run
- Install Docker Compose
- Put the bot token in a
.env
file in the root directory:export DISCORD_TOKEN='<your token>'
- Run the bot with
docker compose up -d
WoBot is a Discord Bot written in Rust with the Poise framework. It can be hosted on any server and uses a PostgresQL database.
The mensa plan uses the Eat API, the mensa coordinates link to Google Maps.
The Mensaplan API is written by myself in Elixir.
Docker Compose automatically reads them from a .env
file, for Cargo/the binary you need to set them, e.g. like so source .env
.
Only DISCORD_TOKEN
is required, the others are optional.
Example .env file
export DISCORD_TOKEN='' # https://discord.com/developers/applications
export CAT_API_TOKEN='' # https://thecatapi.com/signup
export DOG_API_TOKEN='' # https://thedogapi.com/signup
export MENSAPLAN_TOKEN='' # https://github.com/Friendly-Banana/mensaplan#api
config.hjson
uses a human-friendly JSON version, HJson.
You can set up automatic reactions and replies based on keywords. All of them are case-insensitive.
Auto-reactions match only on word boundaries, ignoring punctuation around them.
For example, wobot
would match WoBot!
but not wo bot
.
WoBot can react with both Unicode and custom Discord emojis, even animated ones.
// channel for event threads
event_channel_per_guild: {
// guild_id: channel_id
1: 1
},
auto_reactions: {
robot: {
name: "🤖"
}
vibing: {
animated: true
name: vibing
// emoji id
id: 1
}
},
auto_replies: [
{
keywords: [
"wobot info"
"wobot help"
]
// discord user id
user: 1
title: About WoBot
description: "Hi, I'm **WoBot**, your friendly neighborhood bot. Please send any questions or feedback to my author, {user}. This message was sent {count} times. Have a nice day!"
colour: 15844367
}
]
link_fixes: {
instagram.com: {
tracking: "igsh"
}
reddit.com: {
host: "old.reddit.com"
}
}