Skip to content

an experimental discord bot with weird features that no one asked for

License

Notifications You must be signed in to change notification settings

12beesinatrenchcoat/slabbot

Repository files navigation

slabbot

another discord bot with features no one asked for

GitHub release (latest by date including pre-releases) GitHub commit activity GitHub repo size XO code style

current features

  • A meaningless exp system!
  • Outdated Despacito!
  • osu! profile fetching!
  • Dice rolling!

running

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.

old version

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.

license

AGPLv3.

credit where credit is due

A lot of code involving command handling “inspired by” (read: stolen from) Naval-Base/yuudachi. Slabbot is under the AGPL for that reason.