forked from HirziDevs/PteroStats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
87 lines (76 loc) · 2.82 KB
/
config.yml
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
85
86
87
# PteroStats config
# If you need help, join our discord server here: https://discord.gg/zv6maQRah3
# Bot Configuration
token: "Put bot token here"
presence:
text: "Hosting Panel"
type: "watching" # can be 'watching', 'playing', 'listening', or 'competing'. 'streaming' is not working for now
status: "online" # can be 'online', 'idle', 'dnd', or 'invisible'
# Discord Channel and Refresh Time Configuration
channel: "Put channel id here"
refresh: 60 # How much time the bot will refresh the stats
timeout: 1 # How much time to wait for a node to respond to the bot (if you change this, it will add more time to refresh the stats)
# Panel Configuration
panel:
url: "Put panel url here"
key: "Put panel apikey here"
# Message and Embed Configuration
# set the option as '' if you want to disable it
message:
content: ""
attachment: "" # If you enable attachment on message it will upload the attachment first before sending or editing message and will result in delayed stats
embed:
title: "PteroStats"
color: "5865F2"
description: "Next update {{time}}" # You can use {{time}} to make "in X seconds" time format
footer: "By Hirzi#8701"
timestamp: true
thumbnail: ""
image: ""
field:
title: ""
description: "" # You can use {{time}} to make "in X seconds" time format
# Message Button Configuration
button:
enable: true
btn1:
label: "PteroStats"
url: "https://github.com/HirziDevs/PteroStats"
btn2:
label: ""
url: ""
btn3:
label: ""
url: ""
btn4:
label: ""
url: ""
btn5:
label: ""
url: ""
# Status Message Configuration
# How to use custom emoji: https://github.com/HirziDevs/PteroStats#using-custom-emoji
status:
online: ":green_circle: Online"
offline: ":red_circle: Offline"
# Nodes Settings
# How to get nodes id: https://github.com/HirziDevs/PteroStats#blacklist-nodes
nodes_settings:
blacklist: [] # You can add node id to remove the node from status embed (Example: "blacklist: [1]")
details: false # enable nodes details i.e memory and disk usage
servers: true
location: true
allocations: true
unit: "gb" # Allowed values- "gb", "mb", "tb", or "percent"
# Panel Users and Servers Settings
panel_settings:
status: true # enable panel stats under nodes stats
servers: true
users: true
# Mentions a User or Role if any node is offline (this feature is still in testing, please report if you have a problem)
mentions: # to enable atleast put 1 ID on user or role bellow
user: [] # Put User ID here (Example: "user: ['548867757517570058', '816219634390663230']")
role: [] # Put Role ID here (Example: "role: ['796083838236622858', '858198863973187585']")
channel: "" # Put Channel ID here for the logging
# Log error to console if a server offline (enable this when you have a problem that you want to report)
log_error: false # set to "true" to enable