Welcome to OOFs Active 911 Pager Bot! This bot uses one command: !dispatch. It sends messages after that gathering Call info, etc. It then sends an embed in the designated channel, and sends a confirmation in the command channel.
- Add the 2 files into a folder on your desktop
- Visit https://discordapp.com/developers/applications/ and press New Application
- Name your bot and press create
- Click the "Bot" tab in the left column and press "Add Bot"
- Locate your token and copy it.
- Open config.json in your text editor
- Replace "YourTOKEN" With your token that you just copied
- Open index.js in your text editor
- Locate OUTPUTID, and CONFIRMID and replace them With thos discord channel ids
- Download node.js from https://nodejs.org/en/
- Download Git BASH from https://git-scm.com/download/win
- Right click in your bot folder
- Press "Git BASH here"
- Once the command prompt opens, type "npm init" and press enter.
- Press enter until it asks you iif the info is correct then tpye "yes" and press enter
- Type "npm i discord.js" and press enter. Let that command run.
- Type "node index.js"
- Press enter
- Your bot should start!
!dispatch - Returns call and pages, When prompted for alarm, only type in the number. Alarm is added automatically. If not a fire call, type No. That will return "No Alarm". When Prompted for city you can type the thing out, or use an abbreviation.
"W" = "Westover"
"K" = "Kensington"
"Ps" = "Palm Shores"
"SB" = "South Beach"
"Wb" = "Woodbury"
THIS IS NOT AN EXACT SCIENCE. DM oofboi420#6511 with any questions comments or concerns. Updates for this bot will be released regularly. Please keep your dms open to receive updates!