The lightweight, simple, and "no moderation" bot. Designed purely to send messages based on a command you gave. That's it.
The following commands are already made for you. Here's a quick legend:
<variable: type>
Required.[variable: type]
Optional.{variable: type}
URI-like flags separated by semicolons (name=George;age=24;message=Hello world!
). Optional.
Name | Usage |
---|---|
bunny | ~bunny |
cat | ~cat |
dog | ~dog |
fox | ~fox |
help | ~help [command: string] |
say | ~say [message: string] |
tag | ~tag <tag_name: string> OR ~tag <action: string> |
If you so choose to download this repository (or clone it) and use it as your own, you must to the following:
- Open
config/base-example.jsonc
and read though the header entirely. - Create/open
config/base.json
and set up the parameters for your bot. Adding the token, colors, etc. - Install the required dependencies using
npm install
. - Use
node .
in a console to start your bot.
- Add fox command for random fox picture.
- Add bunny command for random bunny picture.
- Add help command.
- Add tag command.
ADD
subcommand to add new tag.REMOVE
subcommand to remove created tag.LIST
subcommand to show tags.CLEAR
subcommand to clear all tags from the current server.EDIT
subcommand to modify existing tag.
- Add pages to help list instead of trying to display everything.
- Possibly add pony command for random pony picture (maybe? Debatable).
- Add dictionary command.
- Add thesaurus command.
- Add bug report command.
My style of code is done with 4 tab indentation, Allman style bracket/indentation, and the following case styling:
file-names.txt
ClassNames
functionNames
GLOBAL_CONSTANT_VARIABLES
normal_variables