This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.json
84 lines (84 loc) · 3.26 KB
/
app.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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "Discord PUG Bot",
"description": "Discord bot for organizing PUGs (pick-up games). Built for Neotokyo, but should work for any two-team game with even number of players total.",
"keywords": [
"chat bot",
"Discord",
"pick-up game",
"PUG",
"Python"
],
"website": "https://github.com/Rainyan/discord-bot-ntpug",
"repository": "https://github.com/Rainyan/discord-bot-ntpug",
"env": {
"NTBOT_SECRET_TOKEN": {
"description": "Discord bot API secret token. For info on how to generate this, please see: https://discord.com/developers/docs. Please note that the string value must be enclosed in quotes, eg: \"api-key-here\""
},
"NTBOT_PUG_CHANNEL": {
"description": "Name of the Discord server channel that the bot listens to. This value has to be an exact match of the channel name.",
"value": "\"pug-queue\""
},
"NTBOT_PLAYERS_REQUIRED_TOTAL": {
"description": "Number of players, total, that are required for a PUG match. For example, 10 for a 5v5. Needs to be a positive even number.",
"value": "10"
},
"NTBOT_POLLING_INTERVAL_SECS": {
"description": "How often (in seconds) to check if there's enough players pugged up to start playing.",
"value": "5"
},
"NTBOT_PRESENCE_INTERVAL_SECS": {
"description": "How often (in seconds) to update the bot's Discord \"presence\" status message, displaying current amount of queued players next to the bot's nickname.",
"value": "30"
},
"NTBOT_PUGGER_ROLE": {
"description": "Name of the puggers role. Used for pinging.",
"value": "\"Puggers\""
},
"NTBOT_PUGGER_ROLE_PING_THRESHOLD": {
"description": "Threshold, in range of 0.0-1.0, of how many queued players are required for the bot to auto-ping the pugger role.",
"value": "0.5"
},
"NTBOT_PUGGER_ROLE_PING_MIN_INTERVAL_HOURS": {
"description": "How long to wait, in hours, between role pings at a minimum.",
"value": "4.0"
},
"NTBOT_PUGGER_ROLE_PING_MAX_HISTORY": {
"description": "How many previous PUG channel messages to check, at most, for a previous pugger role ping.",
"value": "120"
},
"NTBOT_PUG_ADMIN_ROLES": {
"description": "List of 0 or more names of the pug maintainer roles. If any user should be able to do pug queue admin tasks, use an empty list: []",
"value": "[\"Admins\", \"Moderators\"]"
},
"NTBOT_IDLE_THRESHOLD_HOURS": {
"description": "How long to keep idle puggers in the queue before automatically un-queueing them, in full hours. Has to be a positive integer.",
"value": "16"
},
"NTBOT_PING_PUGGERS_COOLDOWN_SECS": {
"description": "How often can PUG queuers bulk-ping all the other players currently in the queue, in seconds. Admins with roles defined by \"NTBOT_PUG_ADMIN_ROLES\" are not affected by this time limit.",
"value": "600.0"
},
"NTBOT_FIRST_TEAM_NAME": {
"description": "First team's name",
"value": "\"Jinrai\""
},
"NTBOT_SECOND_TEAM_NAME": {
"description": "Second team's name",
"value": "\"NSF\""
}
},
"formation": {
"worker": {
"quantity": 1,
"size": "free"
}
},
"addons": [
{
"plan": "librato:development"
},
{
"plan": "papertrail:choklad"
}
]
}