Celeo / staff_up_bot

Discord bot to alert when VATSIM airports have traffic but no controllers
MIT License
2 stars 0 forks source link

How to install it? #2

Open cptalpdeniz opened 1 year ago

cptalpdeniz commented 1 year ago

Hello,

We are looking to add this bot to our Discord server. We have created a config.json file for with some test conditions (for example airport is KLAX etc.). Now there is couple of things we don't understand:

  1. How to install this bot?
  2. Where to install it? Should we install it to our server?
  3. Can you expand the steps on how to run this? We created a "bot" from Discord developer portal and put in channel ID + token but have no idea how/where to deploy it.

Regards cc/ @oofran

Celeo commented 1 year ago

Hi!

You're on the right track. The Discord bot token, channel number, and your config go in that config.json file, correct. Grab a .zip or .tar.gz from the releases and extract out the binary (if you're running on something other than a Linux machine, you'll need to compile it yourself or let me know and I'll get you a binary).

You can run it from your computer to start with; run the binary from the directory that contains the configuration file. Generally, you'd run the bot on something like DigitalOcean or similar VPS provider. If you already have a server, that'd work fine.

cptalpdeniz commented 1 year ago

Hi Matt!

Thank you very much for the fast response. I’ll talk with our webmaster and follow the instructions. If we need anything, I’ll post a comment. If not, I’ll update and close this issue.

Thank you very much! cc/ @cptsnd