Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 708 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 708 Bytes

swat-discord-bot

Discord community bot for the Warcraft III custom game, SWAT: Aftermath

Features:

  1. Class Call
  2. Misc chat commands
  3. Leaderboards
  4. Guides
  5. Wiki backup

Requirements:

  1. pip
  2. discord.py
  3. tabulate
  4. python-dotenv

Alias commands:

alias restart-bot="kill \$(ps aux | grep '[s]watcc' | awk '{print \$2}') && python3 ~/swat-discord-bot/swatcc.py </dev/null &>/dev/null &"
alias start-bot="python3 ~/swat-discord-bot/swatcc.py </dev/null &>/dev/null &"
alias start-bot-debug="python3 ~/swat-discord-bot/swatcc.py"
alias stop-bot="kill \$(ps aux | grep '[s]watcc' | awk '{print \$2}')"
alias deploy-bot="stop-bot && git fetch && git reset --hard origin/master && start-bot"