forked from jozsefsallai/discord-google-classroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
29 lines (29 loc) · 858 Bytes
/
config.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"server": {
"port": 3000
},
"bot": {
"token": "discord bot token",
"channel": "the ID of the notification channel",
"checkInterval": 5,
"pingEveryone": false,
"timezone": "UTC"
},
"google": {
"clientId": "Google OAuth2 client id",
"clientSecret": "Google OAuth2 client secret",
"authURI": "https://accounts.google.com/o/oauth2/auth",
"tokenURI": "https://oauth2.googleapis.com/token",
"redirectURI": "http://server_url/authorize",
"scopes": [
"https://www.googleapis.com/auth/classroom.courses.readonly",
"https://www.googleapis.com/auth/classroom.announcements.readonly"
],
"enrollmentCodes": [
"list of course enrollment codes (optional if linkIDs is present)"
],
"linkIDs": [
"list of course link IDs (optional if enrollmentCodes is present)"
]
}
}