2024-02-21 02:34:52 +00:00
|
|
|
<img src="bot.jpg" width="360">
|
2024-02-20 06:14:06 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## 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`.
|
|
|
|
|
2024-02-20 06:57:49 +00:00
|
|
|
By default it points to `/usr/bin/gifmaker`.
|
2024-02-20 06:14:06 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Files
|
|
|
|
|
2024-02-20 07:00:03 +00:00
|
|
|
Files generated through commands are stored in `/tmp/gifmaker` and removed after they're done uploading.
|
2024-02-20 06:14:06 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
|
|
> ,ping
|
|
|
|
|
|
|
|
> ,describe Nick
|
|
|
|
|
|
|
|
> ,wins Nick
|
|
|
|
|
|
|
|
> ,numbers
|
|
|
|
|
|
|
|
> ,date
|