Discord community bot for the Warcraft III custom game, SWAT: Aftermath
Features:
- Class Call
- Misc chat commands
- Leaderboards
- Guides
- Wiki backup
Requirements:
- pip
- discord.py
- tabulate
- 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"