2023-11-27 23:04:58 -05:00
|
|
|
# Forcebot
|
2023-10-22 07:44:00 -04:00
|
|
|
|
2023-11-27 23:04:58 -05:00
|
|
|
|
2023-11-28 01:49:51 -05:00
|
|
|
test ModulatingForceBot
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2024-01-29 02:12:30 -05:00
|
|
|
1. Set the following environment variables ; either on environment variables or in an `.env` file
|
|
|
|
|
|
|
|
```
|
|
|
|
login_name = <botname>
|
|
|
|
access_token = <oath token>
|
|
|
|
bot_channels = <chnl1>,<chnl2>
|
|
|
|
prefix = <prefix>
|
2024-03-20 19:08:01 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
2. If required, adjust the following additional `.cargo\config.toml` configurations :
|
|
|
|
```
|
|
|
|
[env]
|
|
|
|
OtherBots = # Other Bots for special handling (e.g., bot commands cant be ran by bots)
|
2024-01-29 02:12:30 -05:00
|
|
|
```
|