Praxis_Bot/config.py
2021-04-15 23:48:12 -04:00

88 lines
2.6 KiB
Python

from enum import Enum
import badwords as badwords
credentialsNickname = "praxis_bot"
twitch_module: bool = False
discord_module: bool = False
test_module: bool = False
user_module: bool = True
autoJoin_TwitchChannels = ["thecuriousnerd"]
whitelisted_TwitchPowerUsers = ["thecuriousnerd"]
#Twitch Module Configs
block_TwitchChannelsMessaging = [""] # Blocks the ability to send messages to twitch channels
blockAll_TwitchChatChannelsMessaging = False # Blocks the ability to send messages to twitch channels
autoEnabled_TwitchChannelsTTS = False
block_TwitchChannelsTTS = [""] # block supersedes the tts_enabled bool
blockAll_TwitchChatChannelsTTS = False # blockAll supersedes the force bool and force list and tts_enabled bool
force_TwitchChannelsTTS = [""] # force supersedes the block list
forceAll_TwitchChatChannelsTTS = False # forceAll supersedes the blockAll bool and block list and force list
blockAll_TTS_URL_Twitch = True
autoEnabled_Twitch_rgbLightControl = False
#Discord Module Configs
block_DiscordChannelsMessaging = [""] # Blocks the ability to send messages to Discord channels
blockAll_DiscordChannelsMessaging = False # Blocks the ability to send messages to Discord channels
blockAll_DiscordPrivateMessaging = False # Private Messaging not yet implemented
autoEnabled_DiscordChannelsTTS = False
selected_DiscordTTSChannels = ["431129571308339210"]
block_DiscordChannelsTTS = [""] # block supersedes the tts_enabled bool
blockAll_DiscordChannelsTTS = False # blockAll supersedes the force bool and force list and tts_enabled bool
force_DiscordChannelsTTS = [""] # force supersedes the block list
forceAll_DiscordChatChannelsTTS = False # forceAll supersedes the blockAll bool and block list and force list
blockAll_TTS_URL_Discord = True
autoEnabled_Discord_rgbLightControl = False
#User Module Configs
blockAll_TTS_URL_UserModule = True
#Chyron Module Configs
chyronListSpaceCount = 25
#Lights Module Configs
colorParse_maxDigits = 4
#General Configs
skip_splashScreen = False
skip_splashScreenClear = False
skip_splashScreenSleep = False
botList = ("Nightbot", "StreamElements", "Moobot", "Praxis Bot", "praxis_bot", "MEE6 +", "Nerdy", "Rythm", "Groovy")
class FileNameStrategy(Enum):
TIME_BASED = 1
CONTENT_BASED = 2
fileNameStrategy = FileNameStrategy.CONTENT_BASED
class DBStrategy(Enum):
SQLite = 1
MySQL = 2
dbStrategy = DBStrategy.SQLite
#TTS Configs
class Speaker(Enum):
GOOGLE_TEXT_TO_SPEECH = 1
currentSpeaker = Speaker.GOOGLE_TEXT_TO_SPEECH
#Misc Configs
slurList = badwords.slurList
praxisVersion_Alpha = "A.0 "
praxisVersion_Delta = "D.1 "
praxisVersion_Omega = "O.0 "