-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playground improvement #41
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a few nits but mostly lgtm
if (!auth) { | ||
return; | ||
} | ||
const instanceResponse = await fetch(`/api/activity-instance/${discordSdk.instanceId}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
@@ -43,7 +43,7 @@ export const start = async () => { | |||
'rpc.voice.write', | |||
'rpc.voice.read', | |||
// "webhook.incoming", | |||
discordSdk.guildId == null ? 'dm_channels.read' : null, // This scope requires approval from Discord. | |||
// discordSdk.guildId == null ? 'dm_channels.read' : null, // This scope requires approval from Discord. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this meant to be included?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes because it just breaks the activity if you don't have the scope, and you need to do special stuff to get the scope
No description provided.