init commit
This commit is contained in:
12
twitch_extension_delete/live/public/config.js
Normal file
12
twitch_extension_delete/live/public/config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
let token, userId;
|
||||
|
||||
const twitch = window.Twitch.ext;
|
||||
|
||||
twitch.onContext((context) => {
|
||||
twitch.rig.log(context);
|
||||
});
|
||||
|
||||
twitch.onAuthorized((auth) => {
|
||||
token = auth.token;
|
||||
userId = auth.userId;
|
||||
});
|
||||
Reference in New Issue
Block a user