File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export async function setupDisBotConfig(client: ExtendedClient): Promise<void> {
1414
1515 try {
1616 const fetchTwitchToken = await axios . post (
17- `https://id.twitch.tv/oauth2/token?client_id=dtqw2suy9vbzzhpoure8ibuq8r0vnj &client_secret=a3jr6v2444vf8z7ynk5b17ogf5d9rt &grant_type=client_credentials`
17+ `https://id.twitch.tv/oauth2/token?client_id=${ Config . Modules . Notifications . TwitchClientId } &client_secret=${ Config . Modules . Notifications . TwitchClientSecret } &grant_type=client_credentials`
1818 ) ;
1919
2020 const result = await fetch ( "https://accounts.spotify.com/api/token" , {
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ export async function configStartup() {
4545 Notifications : {
4646 SpotifyClientId : "" ,
4747 SpotifyClientSecret : "" ,
48+ TwitchClientId : "" ,
49+ TwitchClientSecret : "" ,
4850 TiktokClientKey : "" ,
4951 TiktokClientSecret : "" ,
5052 } ,
Original file line number Diff line number Diff line change 11export const botData = {
22 version : "1.6.2" ,
3- configVersion : "1.1.0 " ,
3+ configVersion : "1.1.1 " ,
44} ;
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ export type DisBotConfigData = {
2929 Notifications : {
3030 SpotifyClientId : string ;
3131 SpotifyClientSecret : string ;
32+ TwitchClientId : string ;
33+ TwitchClientSecret : string ;
3234 // SOON
3335 TiktokClientKey : string ;
3436 TiktokClientSecret : string ;
You can’t perform that action at this time.
0 commit comments