Files
PteroStats/config.yml
T
2022-05-29 19:28:04 +07:00

65 lines
1.6 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' # TODO how to use custom emoji
offline: ':red_circle: Offline'
# Node Resource
resource:
enable: false
servers: true
location: true
allocations: true
unit: 'gb' # You can use "gb", "mb", or "percent"