-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js.example
46 lines (42 loc) · 1.88 KB
/
config.js.example
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
const trilaud_config = {
alertOnPings: false, //set it true if you want messages containing your username logged
oauth: "", //READ BELOW!
clientid: "",
pingsound: "beepbeep.wav", //sound to play when you get binged if alertOnPings is set to true
giftsound: "beepbeep.wav", //sound to play when get a gift
textcolors: true, //set it to false to make stdout sparkle
httpPort: 8500, //set it to 0 to disable the http server.
httpHost: "127.0.0.1",
dateformat: "YMD",
log2file: true, //set it to false to log only to console. if you use pm2 it logs by default
restartOnCapError: true //set it to false to not restart the client on capabilitieserrors
//DANGEROUS! only use it if you know what you're doing pajaS
};
export {trilaud_config};
/*
* oauth code must be an "implicit flow" code. Do not use server or renewable
* codes, this application is not designed to work with those.
* DO NOT INCLUDE "oauth:" at the start of the code. Kod only Okayeg !
* triLaud will figure out your identity (nick, display name and user ID)
* from the code.
*
* clientid must be the Client ID of the application you used to get your oauth.
* I recommend using https://bot.noiredayz.link/trilaud
* The login there will generate an oauth code with only the required
* permissions and not any more.
* If you wish to keep using twitchapps.com/tmi their client ID is
* q6batx0epp608isickayubi39itsckt
*
* sounds must be wav files. You can use absolute or relative paths.
* Leave the settings empty ("") if you don't want dink-donk.
* For long Windows paths remember to double the slashes!
* YES: C:\\sounds\\bing.wav
* NO: C:\sounds\bing.wav
*
* You can use the supplied beepbeep.wav file
*
* Date formats:
* YMD for 2021-12-27 year-month-day (default if it's non-set or set to an invalid value)
* DMY for 27-12-2021 day-year-month
* MDY for KKonaW 12-27-2021 month-day-year format
*/