Discord bot thingamajig.
Evnironment variables required found in /src/types/environment.d.ts
git clone {this repo url}
npm install
npm run start
docker pull ghcr.io/d2dynamo/bonkbot:main
write your docker-compose file.
docker compose up -f {your docker-compose file}
Do not use esbuild minify, it upsets up discord.js code somehow. Terser works instead.
git clone {this repo url}
npm run build-local (on windows machine, must create /dist and /build folders first. will fix later)
npm run build (on unix system)
node ./dist bundle.js (dont forget to add your env variables)
Select server gamer words based on collection ex: "Hate Speech" selects hate speech worsd for the server.
Command options need to be type checked in code and then asserted since we have to use the generic options.get() command. Maybe implement options resolver in Command class?
Write commands with localization in mind. Store localization strings in yaml or json.
Use golang to handle gamer word watcher? (comms with grpc)
Cause fun
-
bd-load | loads swear jar
-
bd-set | sets debt in swear jar
-
bd-add | adds to debt in swear jar
-
bd-remove | remove debt from swear jar
-
bd-lb | debt leaderboard
-
subscribe-gamer-word | Subscribe guild to gamer word
-
list-gamer-words | List all available gamer words
-
list-guild-words | List all words guild is subscribed to
-
save-word-config | Change cost or response of a gamer word
-
set-user-permission | Change user permission
GamerWordWatch - Watches for any gamer words mentioned in text channels. Adds debt to a users wallet when gamer word spotted (basically swear jar).