This repository has been archived by the owner on Jan 28, 2022. It is now read-only.
/
UI_Config.json
164 lines (164 loc) · 4.85 KB
/
UI_Config.json
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"output_file": "config.json",
"donate":{
"type" : "button",
"label" : "Buy the dev a coffee",
"tooltip" : "Keep the development of free scripts going buying the developer a coffee!",
"function": "donate",
"wsevent" : "",
"group" : ""
},
"contact":{
"type" : "button",
"label" : "Want a custom script? Contact me!",
"tooltip" : "Click here to contact the script's developer luissanchezdev",
"function": "open_contact_me",
"wsevent" : "",
"group" : ""
},
"open_readme":{
"type" : "button",
"label" : "View readme",
"tooltip" : "Click here to view the script's documentation.",
"function": "open_readme",
"wsevent" : "",
"group" : ""
},
"read_all_text": {
"type" : "checkbox",
"value" : false,
"label" : "Read ALL chat",
"tooltip": "Check this to read all chat disregarding the command.\nIF YOU ARE USING THIS FEATURE MAKE SURE TO SET A FAST SPEED SO THE CHATBOT CAN KEEP UP!",
"group" : ""
},
"command": {
"type" : "textbox",
"value" : "",
"label" : "Command",
"tooltip": "Command for users to say something with TTS.",
"group" : "Command configuration"
},
"permission": {
"type": "dropdown",
"value": "Everyone",
"items": ["Everyone","Regular","Subscriber","Moderator","Editor"],
"label": "Permission level",
"tooltip": "Set the permission level for the command",
"group": "Command configuration"
},
"cooldown": {
"type" : "numberbox",
"value" : 0,
"label" : "Global cooldown (seconds)",
"tooltip": "Cooldown applied globally.",
"group" : "Command configuration"
},
"user_cooldown": {
"type" : "numberbox",
"value" : 0,
"label" : "User cooldown (seconds)",
"tooltip": "Cooldown applied for each user.",
"group" : "Command configuration"
},
"msg_permission": {
"type" : "textbox",
"value" : "You don't have enough permissions to use this command.",
"label" : "Permissions",
"tooltip": "Message shown when someone tries to issue the command without enough permissions.",
"group" : "Command messages"
},
"msg_cooldown": {
"type" : "textbox",
"value" : "This command is still on cooldown!",
"label" : "Cooldown",
"tooltip": "Message shown when someone tries to issue the command but it is still on cooldown.",
"group" : "Command messages"
},
"msg_user_cooldown": {
"type" : "textbox",
"value" : "You need to wait before using this command again.",
"label" : "User Cooldown",
"tooltip": "Message shown when someone tries to issue the command while they are on cooldown.",
"group" : "Command messages"
},
"lang": {
"type": "dropdown",
"label": "Language",
"value": "English (US) [en-US]",
"tooltip": "TTS Language",
"items": [
"Arabic [ar-XA]",
"Czech (Czech Republic) [cs-CZ]ar",
"Danish (Denmark) [da-DK]",
"Dutch (Netherlands) [nl-NL]",
"English (Australia) [en-AU]",
"English (India) [en-IN]",
"English (UK) [en-GB]",
"English (US) [en-US]",
"Filipino (Philippines) [fil-PH]",
"Finnish (Finland) [fi-FI]",
"French (Canada) [fr-CA]",
"French (France) [fr-FR]",
"German (Germany) [de-DE]",
"Greek (Greece) [el-GR]",
"Hindi (India) [hi-IN]",
"Hungarian (Hungary) [hu-HU]",
"Indonesian (Indonesia) [id-ID]",
"Italian (Italy) [it-IT]",
"Japanese (Japan) [ja-JP]",
"Korean (South Korea) [ko-KR]",
"Mandarin Chinese [cmn-CN]",
"Norwegian (Norway) [nb-NO]",
"Polish (Poland) [pl-PL]",
"Portuguese (Brazil) [pt-BR]",
"Portuguese (Portugal) [pt-PT]",
"Russian (Russia) [ru-RU]",
"Slovak (Slovakia) [sk-SK]",
"Spanish (Spain) [es-ES]",
"Spanish (Latin America) [es-MX]",
"Swedish (Sweden) [sv-SE]",
"Turkish (Turkey) [tr-TR]",
"Ukrainian (Ukraine) [uk-UA]",
"Vietnamese (Vietnam) [vi-VN]"
],
"group": "TTS Configuration"
},
"pitch": {
"type": "slider",
"label": "% Pitch",
"value": 100,
"min": 50,
"max": 150,
"ticks": 5,
"tooltip": "Change default pitch of voice",
"group": "TTS Configuration"
},
"speed": {
"type": "slider",
"label": "% Speed",
"value": 100,
"min": 75,
"max": 250,
"ticks": 5,
"tooltip": "Change default speed of voice",
"group": "TTS Configuration"
},
"volume": {
"type": "slider",
"label": "Volume",
"value": 90,
"min": 15,
"max": 200,
"ticks": 5,
"tooltip": "Change volume",
"group": "TTS Configuration"
},
"clear_queue":{
"type" : "button",
"label" : "🗑️ Clear TTS queue 🗑️",
"tooltip" : "Clean the queue if a lot of texts are waiting to be spoken.",
"function": "clear_queue",
"wsevent" : "",
"group" : "TTS Configuration"
}
}