Files
PteroStats/config.yml
2022-06-19 14:37:27 +07:00

72 lines
1.7 KiB
YAML

# PteroStats config
# If you need help, join our discord server here: https://discord.gg/zv6maQRah3
# Bot Configuration
token: 'Put bot token here'
bot_status:
enable: false
text: 'Hosting Panel'
type: 'WATCHING' # can be 'WATCHING', 'PLAYING', 'LISTENING', or 'COMPETING'. for 'STREAMING' is not working for now
# Discord Channel and Refresh Time Configuration
channel: 'Put channel id here'
refresh: 60
# Panel Configuration
panel:
url: 'Put panel url here'
key: 'Put panel apikey here'
# Embed Configuration
# set to false if you want to disable embed option
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: false
image: false
field:
enable: false
title: 'Custom Field'
description: 'Custom Field' # 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
status:
online: ':green_circle: Online'
offline: ':red_circle: Offline'
# Nodes Resource
nodes_resource:
blacklist: [] # You can add node id to remove the node from status embed (Example: "blacklist: [1]")
enable: false
servers: true
location: true
allocations: true
unit: 'gb' # You can use "gb", "mb", or "percent"
# Panel Users and Servers
panel_resource:
enable: true
servers: true
users: true