forked from raidensakura/modmail
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.json
More file actions
71 lines (71 loc) · 2.77 KB
/
app.json
File metadata and controls
71 lines (71 loc) · 2.77 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "Modmail",
"description": "An easy to install Modmail bot for Discord - DM to contact mods!",
"repository": "https://github.com/raidensakura/modmail",
"env": {
"TOKEN": {
"description": "Your discord bot's token.",
"required": true
},
"GUILD_ID": {
"description": "The id for the server you are hosting this bot for.",
"required": true
},
"MODMAIL_GUILD_ID": {
"description": "The ID of the discord server where the threads channels should be created (receiving server). Default to GUILD_ID.",
"required": false
},
"OWNERS": {
"description": "Comma separated user IDs of people that are allowed to use owner only commands. (eval).",
"required": true
},
"CONNECTION_URI": {
"description": "The connection URI for your database.",
"required": true
},
"DATABASE_TYPE": {
"description": "The type of your database. There is only one supported database at the moment - MongoDB (default).",
"required": false
},
"LOG_URL": {
"description": "The url of the log viewer app for viewing self-hosted logs.",
"required": true
},
"LOG_URL_PREFIX": {
"description": "The path to your log viewer extending from your `LOG_URL`, defaults to \"/logs\".",
"required": false
},
"GITHUB_TOKEN": {
"description": "A github personal access token with the repo scope.",
"required": false
},
"REGISTRY_PLUGINS_ONLY": {
"description": "If set to true, only plugins that are in the registry can be loaded.",
"required": false
},
"OAUTH2_CLIENT_ID": {
"description": "Client ID for your application, used for built-in logviewer plugin.",
"required": false
},
"OAUTH2_CLIENT_SECRET": {
"description": "Client Secret for your application, used for built-in logviewer plugin.",
"required": false
},
"OAUTH2_REDIRECT_URI": {
"description": "The redirect URL for logviewer OAuth. You must also add this URL in your application's Redirects section.",
"required": false
},
"HOST": {
"description": "The host address logviewer plugin will bind itself to. Defaults to 0.0.0.0",
"required": false
},
"PORT": {
"description": "The port logviewer plugin will listen to. Defaults to 8000.",
"required": false
},
"LOGVIEWER_PAGINATION": {
"description": "The number of logs to display per page on logviewer. Defaults to 25.",
"required": false
}
}
}