A fun Discord bot that responds to various triggers with humorous quotes and random phrases.
- Clone this repository.
- Install Luvit if not already installed.
- Create a
config.luafile in the root directory with your bot token:
return {
token = 'YOUR_BOT_TOKEN_HERE',
admins = {
"ADMIN_USER_ID_1",
"ADMIN_USER_ID_2"
}
}Replace YOUR_BOT_TOKEN_HERE with your actual Discord bot token (without the 'Bot ' prefix).
- Run the bot with
luvit robot.luaor usestart.bat.
!ooc: Sends a random out-of-character quote.- Reply "delete this" to an ooc message: Bans that specific response for the server (admins only? No, public for curation).
- Messages with
^characters: Responds with "That's the beauty of [random phrase]". - Messages ending with
...: Randomly says "sucks" or "doesn't suck". !reload <module>: Reloads a module (ooc, adjective, noun, logic) or all modules at once (use 'all' as the module name) to apply changes without restarting the bot. (Admin only - configured in config.lua)
robot.lua- Main entry pointutil/commands.lua- Command dispatchercommands/- Individual command modulesooc.lua- OOC quote handlerttb.lua- TtB trigger handlersuck.lua- Suck response handler
util/reload.lua- Module reloading utilitiesresponses/- Response data and modulesooc.lua- OOC quote datawordbank/- Word data modules
config.lua- Configuration (token, admins)