https://github.com/faforever/qai
I cannot be defeated.
https://github.com/faforever/qai
Last synced: over 1 year ago
JSON representation
I cannot be defeated.
- Host: GitHub
- URL: https://github.com/faforever/qai
- Owner: FAForever
- Created: 2015-01-14T19:27:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-12-25T23:04:20.000Z (over 7 years ago)
- Last Synced: 2025-03-22T21:24:21.379Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.95 MB
- Stars: 3
- Watchers: 16
- Forks: 15
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FA Forever - IRC bot
[](https://travis-ci.org/FAForever/QAI)
[](https://scrutinizer-ci.com/g/FAForever/QAI/?branch=master)
This is the source code for the [Forged Alliance Forever](http://www.faforever.com/) IRC bot.
## Installation
Install Python 3.6 or a later 3.x version.
Latest pip version (18.1) at the moment of writing this document breaks pipenv - https://github.com/pypa/pipenv/issues/2924,
so we will need to install version 18.0
Install pip version 18.0:
windows: pip install --upgrade pip==18.0
pip --version
linux: pip3 install --upgrade pip==18.0
pip3 --version
Install the package dependencies:
windows: pip install -r requirements.txt
pipenv run pip install --upgrade pip==18.0
pipenv install
linux: pip3 install -r requirements.txt
pipenv run pip3 install --upgrade pip==18.0
pipenv install
Create the config file and modify the settings as appropriate:
cp config.ini.example config.ini
Create the `passwords.py` file. You can create of copy of the `passwords.py.example` file
in [the server repo](https://github.com/FAForever/server).
## Usage
pipenv shell
python3 -m irc3 config.ini
## Running the tests
pipenv shell
py.test tests/