27 lines
No EOL
1 KiB
Markdown
27 lines
No EOL
1 KiB
Markdown
An application to have a slime buddy on stream
|
|
|
|
Will not work currently until I get an auth system set up unless you manually make an auth.gd file for the twitch integration. On release 1 it will be doable within the app itself
|
|
|
|
Its addons/TwitchGod/auth.gd
|
|
|
|
example (the subs here arent necessarily needed, I just use this for testing atm):
|
|
|
|
```
|
|
const BROADCASTER_ID = "[broadcaster id]"
|
|
const USER_ID = "[user id]"
|
|
const CLIENT_SECRET = "[client secret]"
|
|
const CLIENT_ID = "[client id]"
|
|
const PORT = 7176
|
|
const SCOPE = "moderator%3Amanage%3Ashoutouts+channel%3Aread%3Apolls+channel%3Amanage%3Apolls+user%3Aread%3Achat+user%3Awrite%3Achat+channel%3Aread%3Aredemptions+channel%3Amanage%3Aredemptions+channel%3Aread%3Apolls"
|
|
const SUBS = [
|
|
TwitchEvents.Event.CHANNEL_CHAT_MESSAGE,
|
|
TwitchEvents.Event.CHANNEL_POLL_BEGIN,
|
|
TwitchEvents.Event.CHANNEL_CHANNEL_POINTS_CUSTOM_REWARD_REDEMPTION_ADD,
|
|
TwitchEvents.Event.CHANNEL_POLL_BEGIN,
|
|
TwitchEvents.Event.CHANNEL_POLL_PROGRESS,
|
|
TwitchEvents.Event.CHANNEL_POLL_END
|
|
]
|
|
const SCOPES = [
|
|
""
|
|
]
|
|
``` |