Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monroe County NY Emergency Services Bot


Setting Up the Project

This Guide assumes you are operating on a standard Linux installation (written using Ubuntu 20.04 Server), have Sudo privelages, and have Python3.8.10 (Minimum!) installed.

  • Clone the project into the directory of your choice and cd into it
  • Activate or install your Virtual Environment if needed
  • Run pip install -r requirements.txt

-- THEN --

  • Create a bot on the Discord Developer Portal using This Tutorial
  • nano storage.py and add a variable called TOKEN="your-token-here"
  • Add your bot to your server with https://discordapp.com/api/oauth2/authorize?client_id=<CLIENT_ID_HERE>&permissions=8&scope=bot
  • python3 bot.py to run your bot

-- To Run Your Bot Headless / In The Background --

  • Install NPM (Node.JS Package Manager)
  • sudo npm install pm2 -g
  • pm2 ls
  • pm2 start bot.py --watch (Omit --watch if you don't want your project auto-served when the project files are changed)

Command Definitions - Meta Commands

  • /help: Displays Help command with these definitions
  • /pogle: Don't worry about it
  • /ping: Display API latency

Command Definitions - RSS Feed

Command Definitions - ClearCut

  • /ems [keyword]: Returns recent MC EMS ClearCut transcripts with optional matching keywords
  • /fire [keyword]: Returns recent MC Fire ClearCut transcripts with optional matching keywords
  • /hfd [keyword]: Returns recent Henrietta Fire ClearCut transcripts with optional matching keywords
  • /rit: Returns recent RIT Fire and EMS ClearCut transcripts
  • /rite: Returns recent RIT EMS ClearCut transcripts
  • /ritf: Returns recent RIT Fire ClearCut transcripts
  • /rita: Returns recent RIT Ambulance ClearCut transcripts
  • /ritp [keyword]: Returns recent RIT Public Safety ClearCut transcripts with optional matching keywords
  • /ops [keyword]: Returns recent RIT Campus Operations ClearCut transcripts with optional matching keywords
  • /tgs [keyword]: Returns MONCON Talkgroups with optional matching keywords
  • /tg [tg] [keyword]: Returns recent ClearCut transcripts from specified TG with optional matching keywords

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages