JT-99 Janitor is a utility bot for answering common questions and providing information about the JT-99 network
/getserverinfo
- Explains how to join other servers in the network.
/bots
- Explains how the people chatting in the network aren't bots, and that webhooks are used to broadcast messages.
/whatisthis
- Explains JT-99 in a nutshell.
/support
- Directs users to the Base Station support channel.
/basestation
- Provides an invite link to the Base Station.
/english
- Warns users to speak in English and not any other lanauge.
/contribute
- Directs users if they want to add a new tag
To contribute new tags/commands to Janitor, you will need to follow a process in your own fork of this repo.
NOTE: It is recommended you create a new BRANCH in your fork, which is dedicated to the changes you are about to make. This way, any other commits you push to your own master
branch won't collide with your PR, since all commits pushed to a branch will show up in your PR, even though it might be unrelated.
Go to src/commands
and duplicate an existing .ts
file. Give it an appropriate name, and make sure to edit/replace the command names and descriptions.
Go to /src
and edit the index.ts
file. Under the commands area (Line 4 and below) add import {command-name} from "./commands/{your-command-name}
. Then, under line 39 add new {command-name}(),
Open a pull request to the main repo, then pray. One of the developers/maintainers will review your changes, and get back to you if you are required to make any changes.