2021-12-09 17:30:58 +01:00
|
|
|
# SECOND BOT
|
2023-02-13 22:19:42 +01:00
|
|
|
[![Build Status](https://drone.ar21.de/api/badges/secondhemd/shbot/status.svg)](https://drone.ar21.de/secondhemd/shbot)
|
2022-03-06 11:03:27 +01:00
|
|
|
|
2021-12-09 17:30:58 +01:00
|
|
|
der Bot für den SecondHemd Discord
|
|
|
|
|
2022-03-06 11:02:51 +01:00
|
|
|
# Latest
|
|
|
|
## Build
|
2021-12-09 17:30:58 +01:00
|
|
|
```
|
2023-02-13 22:19:42 +01:00
|
|
|
docker build -t secondhemd/shbot:latest .
|
2022-03-06 10:43:44 +01:00
|
|
|
```
|
2022-03-06 11:02:51 +01:00
|
|
|
## Run
|
2022-03-06 10:43:44 +01:00
|
|
|
```
|
2023-02-13 22:19:42 +01:00
|
|
|
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t secondhemd/shbot:latest
|
2021-12-09 17:30:58 +01:00
|
|
|
```
|
2022-03-06 11:02:51 +01:00
|
|
|
## Docker compose
|
2021-12-09 17:30:58 +01:00
|
|
|
```
|
|
|
|
services:
|
|
|
|
bot:
|
2023-02-13 22:19:42 +01:00
|
|
|
image: secondhemd/shbot:latest
|
2021-12-09 17:30:58 +01:00
|
|
|
container_name: shbot
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
2022-01-22 21:11:52 +01:00
|
|
|
- PREFIX=X
|
2022-03-06 11:02:51 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
# Development
|
|
|
|
## Build
|
|
|
|
```
|
2023-02-13 22:19:42 +01:00
|
|
|
docker build -t secondhemd/shbot:dev .
|
2022-03-06 11:02:51 +01:00
|
|
|
```
|
|
|
|
## Run
|
|
|
|
```
|
2023-02-13 22:19:42 +01:00
|
|
|
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t secondhemd/shbot:dev
|
2022-03-06 11:02:51 +01:00
|
|
|
```
|
|
|
|
## Docker compose
|
|
|
|
```
|
|
|
|
services:
|
|
|
|
bot:
|
2023-02-13 22:19:42 +01:00
|
|
|
image: secondhemd/shbot:dev
|
2022-03-06 11:02:51 +01:00
|
|
|
container_name: shbot
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
|
|
- PREFIX=X
|
2021-12-09 17:30:58 +01:00
|
|
|
```
|