forked from sayonari/twitchTransFreeNext
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
51 lines (40 loc) · 2.24 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
######################################################
# PLEASE CHANGE FOLLOWING CONFIGS ####################
Twitch_Channel = 'target_channel_name'
Trans_Username = 'trans_user_name'
Trans_OAUTH = 'oauth_for_trans_user'
#######################################################
# OPTIONAL CONFIGS ####################################
Trans_TextColor = 'GoldenRod'
# Blue, Coral, DodgerBlue, SpringGreen, YellowGreen, Green, OrangeRed, Red, GoldenRod, HotPink, CadetBlue, SeaGreen, Chocolate, BlueViolet, and Firebrick
lang_TransToHome = 'ja'
lang_HomeToOther = 'en'
Show_ByName = True
Show_ByLang = True
Ignore_Lang = ['']
Ignore_Users = ['Nightbot', 'BikuBikuTest']
Ignore_Line = ['http', 'BikuBikuTest', '888', '888']
Ignore_WWW = ['w', 'w', 'W', 'W', 'ww', 'ww', 'WW', 'WW', 'www', 'www', 'WWW', 'WWW', '草']
Delete_Words = ['saatanNooBow', 'BikuBikuTest']
# Any emvironment, set it to `True`, then text will be read by TTS voice!
# TTS_In:User Input Text, TTS_Out:Bot Output Text
TTS_In = True
TTS_Out = True
TTS_Kind = "gTTS" # You can choice "CeVIO" if you want to use CeVIO as TTS.
# CeVIO_Cast = "さとうささら" # When you are using CeVIO, you must set voice cast name.
TTS_TextMaxLength = 30
TTS_MessageForOmitting = "以下略"
# if you make TTS for only few lang, please add langID in the list
# for example, ['ja'] means Japanese only, ['ko','en'] means Korean and English are TTS!
ReadOnlyTheseLang = []
# Select the translate engine ('deepl' or 'google')
Translator = 'deepl'
# Use Google Apps Script for tlanslating
# e.g.) GAS_URL = 'https://script.google.com/macros/s/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/exec'
GAS_URL = ''
# Enter the suffix of the Google Translate URL you normally use.
# Example: translate.google.co.jp -> 'co.jp'
# translate.google.com -> 'com'
GoogleTranslate_suffix = 'co.jp'
# If you meet any bugs, You can check some error message using Debug mode (Debug = True)
Debug = False