uqcsbot is a chat bot built in python for use on our UQCS Slack Team.
Poetry is required to install the bot, install Poetry here
Run poetry install
python3 -m uqcsbot --dev
If a bot was available, it will now be running on uqcstesting.
SLACK_BOT_TOKEN
SLACK_VERIFICATION_TOKEN
python3 -m uqcsbot
The bot will now be running on your custom Slack.
The bot uses pytest. You can run the tests with the command pytest
from the project's root directory. It should automatically discover the tests (which are located in the tests
directory).
You don't need to have set up a Slack team to run the tests; they capture the messages which would have been sent to Slack by the bot.
All new scripts must come with tests before they will be accepted into the bot.