First
This commit is contained in:
59
README.md
Normal file
59
README.md
Normal file
@@ -0,0 +1,59 @@
|
||||
<img src="numbers.png" width="360">
|
||||
|
||||
---
|
||||
|
||||
## Installation
|
||||
|
||||
```shell
|
||||
python -m venv venv
|
||||
```
|
||||
|
||||
```shell
|
||||
venv/bin/pip install -r requirements.txt
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Running
|
||||
|
||||
Credentials are read from the environment.
|
||||
|
||||
They're not stored in files.
|
||||
|
||||
```shell
|
||||
env GLUEBOT_USERNAME="yourUsername" GLUEBOT_PASSWORD="yourPassword" venv/bin/python main.py
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Configuration
|
||||
|
||||
Modify `main.py` itself to edit what you need.
|
||||
|
||||
Set the path to `gifmaker` and maybe change the `prefix`.
|
||||
|
||||
You could make an alias for gifmaker:
|
||||
|
||||
```shell
|
||||
alias gifmaker="/path/to/venv/bin/python /path/to/gifmaker/src/main.py"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Files
|
||||
|
||||
Files generated through commands are stored in `/tmp/gifmaker` and removed when uploaded.
|
||||
|
||||
---
|
||||
|
||||
## Commands
|
||||
|
||||
> ,ping
|
||||
|
||||
> ,describe Nick
|
||||
|
||||
> ,wins Nick
|
||||
|
||||
> ,numbers
|
||||
|
||||
> ,date
|
||||
Reference in New Issue
Block a user