remove discord env no longer used
This commit is contained in:
parent
a9b8511b8f
commit
4470d0d44c
2 changed files with 3 additions and 5 deletions
|
@ -8,7 +8,7 @@ Requires Python `3.9.5`.
|
||||||
|
|
||||||
Install necessary packages:
|
Install necessary packages:
|
||||||
|
|
||||||
```bash
|
```batch
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ Rename `.envexample` file in `.env` in root folder, then open the file and compl
|
||||||
|
|
||||||
Start Bot:
|
Start Bot:
|
||||||
|
|
||||||
```bash
|
```batch
|
||||||
cd src
|
cd src
|
||||||
python3 main.py
|
python3 main.py
|
||||||
```
|
```
|
||||||
|
@ -31,14 +31,13 @@ python3 main.py
|
||||||
|
|
||||||
With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/Bot-Tom/-/blob/main/docker-compose.yml) or in command line:
|
With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/Bot-Tom/-/blob/main/docker-compose.yml) or in command line:
|
||||||
|
|
||||||
```bash
|
```batch
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name="TwitchBot" \
|
--name="TwitchBot" \
|
||||||
registry.gitlab.com/confreriedukassoulait/bot-tom:latest \
|
registry.gitlab.com/confreriedukassoulait/bot-tom:latest \
|
||||||
--ACCESS_TOKEN="yourAccessToken" \
|
--ACCESS_TOKEN="yourAccessToken" \
|
||||||
--PREFIX="yourPrefix" \
|
--PREFIX="yourPrefix" \
|
||||||
--CHANNEL="yourChannel(s)" \
|
--CHANNEL="yourChannel(s)" \
|
||||||
--DISCORD="yourDiscordLink" \
|
|
||||||
-v /here/your/path/:/db
|
-v /here/your/path/:/db
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -7,7 +7,6 @@ services:
|
||||||
- ACCESS_TOKEN=yourAccessToken
|
- ACCESS_TOKEN=yourAccessToken
|
||||||
- PREFIX=yourPrefix
|
- PREFIX=yourPrefix
|
||||||
- CHANNEL=yourChannel(s)
|
- CHANNEL=yourChannel(s)
|
||||||
- DISCORD=yourDiscordLink
|
|
||||||
volumes:
|
volumes:
|
||||||
- /here/your/path/:/db
|
- /here/your/path/:/db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue