Merge pull request #1 from liyunze-coding/liyunze-coding-patch-1

Update auth.js
This commit is contained in:
RythonDev 2025-01-17 09:45:07 +08:00 committed by GitHub
commit 82cdc9af28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

19
auth.js
View file

@ -1,12 +1,7 @@
const auth = (function () {
// Authentication and channels - required
const channel = ""; // your channel
const username = ""; // bot account
const oauth = ""; // should be oauth:xxxxxxxxxxxx from the bot account DO NOT INCLUDE oauth:
return {
channel,
username,
oauth,
};
})();
const credentials = {
clientId: "",
scopes: "chat:read chat:edit channel:read:redemptions user:read:email",
channel: "", // your main channel
sender: "", // bot username
};
export default credentials;