Discord bot for check the status of RFA Server(Urban Terror). This app works over linux and possibly under Mac, not tested yet.
You need to have installed the following dependencies:
- Python 3.8+
- pip: 20.1.1
- virtualenv: 20.0.28
Additionally, add the token for the bot in file ~/.discord_token
(previously
configured as explained here). Once all the previous is done, just execute the
script run.sh, which one will configure all the things necessary for run the bot
in background (with help of nohup). An example of how to do the previous, is the
following:
# Put the token in the file
cd ~
echo NDS2MDCXxMasdMjY2MTU3NTcz.11Qcyg.SkB123Mcj3phuqJGuXvRwNeqv0E > .discord_token
# Clone the repository
git clone git@github.com:miguelpinia/discord-bot-risen-from-ashes.git
cd discord-bot-risen-from-ashes
# Give exec permission and run
chmod +x run.sh
./run.sh
If you want stop the bot, just execute the script kill.sh for kill the process in the machine.
./kill.sh
In discord, the available commands are:
- -rfabot
- calls the help system
- -hello
- return a greeting to user
- -info
- display a message with information about the current map and related stuff
- -infomap
- display a image with the information about the current map and related stuff