Go to file
2020-03-21 01:26:27 +00:00
.env.example Initial Commit 2020-03-21 14:11:44 +13:00
.gitignore Initial Commit 2020-03-21 14:11:44 +13:00
bot.py Resolve int/str comps 2020-03-21 14:19:53 +13:00
README.md Update README.md 2020-03-21 01:26:27 +00:00
requirements.txt Initial Commit 2020-03-21 14:11:44 +13:00

Python Discord Keyword Bot

Requirements

python3 / pip3

Install

copy .env.example to .env and setup your user Token in .env

cp .env.example .env
pip3 install -r requirements.txt
# config .env as below
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).*$"