another discord bot with features no one asked for
- A meaningless exp system!
- Outdated Despacito!
- osu! profile fetching!
- Dice rolling!
slabbot uses the pnpm
package manager, go install that (npm
might work? No promises, though.)
slabbot is also built on node.js v18.x (v18.4.0 as of writing).
Install dependencies with pnpm i
and then build with pnpm build
(or pnpm tsc
).
Create a .env file with pnpm run setup
(see setup.js). You can also fill this out if you'd like:
# Discord (https://discord.com/developers/applications)
DISCORD_TOKEN= # required for bot to functi:won
CLIENT_ID= # required to deploy commands
GUILD_ID= # deploying commands to testing guild
# MongoDB - used for stats (/slabbot and exp)
MONGO_URL=
# osu! (https://osu.ppy.sh/home/account/edit#oauth) -
OSU_ID=
OSU_SECRET=
Run with pnpm dev
or pnpm start
.
There is an old version of slabbot in the shattered-memories
branch that used the Akairo Framework. This has been abandoned since Discord announced they would make message content a Privileged Intent (see #48).
It's still there if you want it! Wouldn't recommend it, though.
A lot of code involving command handling “inspired by” (read: stolen from) Naval-Base/yuudachi. Slabbot is under the AGPL for that reason.