create, assign, delete discord server color roles
configure twitch live notifications in discord announcement channels
Variable | Type | Value |
---|---|---|
DISCORD_TOKEN |
str |
discord bot token, discord developer portal |
CLIENT_ID |
str |
twitch application Client ID, create app in twitch developer console |
CLIENT_SECRET |
str |
generate new secret in twitch dev console (under Client ID) |
CLIENT_OAUTH |
str |
user OAuth token, twitchapps helps obtain |
APP_ACCESS_TOKEN |
str |
server OAuth token twitch docs |
CALLBACK_URL |
str |
server URL to catch webhook requests |
DATABASE_URL |
str |
postgres connection URI postgres://{user}:{password}@{hostname}:{port}/{database-name} |
SECRET |
str |
secret used to sign notification payloads |
PORT |
int |
flask application port |
DEFAULT_MODERATOR_ID |
int |
default bot moderator |
Key | Type | Value |
---|---|---|
prefix |
str |
bot command prefix |
embedHex6 |
str |
stream notification embed line color, six-digit HEX color |
footerText |
str |
stream notification embed footer text |
rolesLimit |
int |
guild color roles limit |
notify |
bool |
fetch and send notifications? |
Command | Description |
---|---|
colorinfo <#hex or rgb> |
get color image, rgb and hex |
nocolor |
remove your color role |
color <#hex or rgb> |
get color role, replace if exists |
colors |
list created color roles |
info |
uptime, channels, modlist |
Command | Description |
---|---|
nocolors |
delete all color roles |
channel <channel_id> |
add/remove bot channel |
notify <twitch username> <space separated channel IDs> |
add/remove/update twitch streams notify |
mute <space separated mentions/userIDs> |
add/remove "Muted" role |