Skip to content

Commit 056c7c7

Browse files
committed
Fix comments
1 parent 4b70e9c commit 056c7c7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

providers/discord/discord.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ const (
2121
)
2222

2323
const (
24-
// allows /users/@me without email
24+
// ScopeIdentify allows /users/@me without email
2525
ScopeIdentify string = "identify"
26-
// enables /users/@me to return an email
26+
// ScopeEmail enables /users/@me to return an email
2727
ScopeEmail string = "email"
28-
// allows /users/@me/connections to return linked Twitch and YouTube accounts
28+
// ScopeConnections allows /users/@me/connections to return linked Twitch and YouTube accounts
2929
ScopeConnections string = "connections"
30-
// allows /users/@me/guilds to return basic information about all of a user's guilds
30+
// ScopeGuilds allows /users/@me/guilds to return basic information about all of a user's guilds
3131
ScopeGuilds string = "guilds"
32-
// allows /invites/{invite.id} to be used for joining a user's guild
32+
// ScopeJoinGuild allows /invites/{invite.id} to be used for joining a user's guild
3333
ScopeJoinGuild string = "guilds.join"
34-
// allows your app to join users to a group dm
34+
// ScopeGroupDMjoin allows your app to join users to a group dm
3535
ScopeGroupDMjoin string = "gdm.join"
36-
// for oauth2 bots, this puts the bot in the user's selected guild by default
36+
// ScopeBot is for oauth2 bots, this puts the bot in the user's selected guild by default
3737
ScopeBot string = "bot"
38-
// this generates a webhook that is returned in the oauth token response for authorization code grants
38+
// ScopeWebhook generates a webhook that is returned in the oauth token response for authorization code grants
3939
ScopeWebhook string = "webhook.incoming"
40-
// allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild
40+
// ScopeReadGuilds allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild
4141
ScopeReadGuilds string = "guilds.members.read"
4242
)
4343

0 commit comments

Comments
 (0)