mirror of
https://github.com/idanoo/discord-keyword-bot.git
synced 2024-11-22 08:25:11 +00:00
Update README.md
This commit is contained in:
parent
fc99769a29
commit
910babd70d
11
README.md
11
README.md
@ -6,8 +6,17 @@ python3 / pip3
|
|||||||
### Install
|
### Install
|
||||||
copy .env.example to .env and setup your user Token in .env
|
copy .env.example to .env and setup your user Token in .env
|
||||||
|
|
||||||
|
cp .env.example .env
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
|
# config .env as below
|
||||||
python3 boy.py
|
python3 boy.py
|
||||||
|
|
||||||
|
### Config
|
||||||
|
.env file layout
|
||||||
|
|
||||||
|
DISCORD_TOKEN="token_from_web"
|
||||||
|
DISCORD_CHANNELS="channel_1_id,channel_2_id"
|
||||||
|
SOURCE_CHANNEL="channel_id_to_listen_to"
|
||||||
|
REGEX_MATCH="^.*(REGEX|TO|USE|TO|MATCH).*$"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user