Skip to content

flightgearbrasil/fgbr-discord-bot-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlightGearBrasil's Discord Bot

Build Status Build Status GNU General Public License

Manual deploy and run

  • Required Python 3.7.3
  • Make a virtual environment with python -m venv venv
  • Enable the virtual environment mode with call ./venv/scripts/activate for windows or source ./venv/bin/activate for linux
  • Install dependencies with pip install -r requirements.txt
  • Setup the environment variables, 3 are needed:
    • BOT_TOKEN (Discord's bot secret token)
    • BOT_AIS_KEY (AISWEB API key)
    • BOT_AIS_TOKEN (AISWEB API pass)
  • Here you can see how to use and request your Discord's bot token
  • Here you can see how to use and request your AISWEB API key
  • Start the bot with python bot.py or python3 bot.py

You can also automatically deploy and host for free with <heroku.com>

Working with Discord API 1.0.1