mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-01-10 07:58:01 +00:00
Fix typo
This commit is contained in:
@@ -17,7 +17,7 @@ panel:
|
||||
url: 'Put panel url here'
|
||||
key: 'Put panel apikey here'
|
||||
|
||||
# Message Configuration
|
||||
# Message and Embed Configuration
|
||||
# leave '' if you want to disable option
|
||||
message:
|
||||
content: ''
|
||||
@@ -55,13 +55,13 @@ button:
|
||||
url: ''
|
||||
|
||||
# Status Message Configuration
|
||||
# How to use custom emoji: htttps://github.com/HirziDevs/PteroStats#using-custom-emoji
|
||||
# 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: htttps://github.com/HirziDevs/PteroStats#blacklist-nodes
|
||||
# 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]")
|
||||
enable: false
|
||||
|
||||
2
index.js
2
index.js
@@ -33,7 +33,7 @@ const client = new Client({ intents: [GatewayIntentBits.Guilds] });
|
||||
client.config = yaml.load(fs.readFileSync('./config.yml', 'utf8'));
|
||||
|
||||
if (client.config.panel.adminkey || client.config.resource || client.config.message.image) {
|
||||
console.log(chalk.cyan('[PteroStats] ') + chalk.red('You are using old config file, please update your config file at ') + chalk.green('https://github.com/HirziDevs/PteroStats/blob/main/config.yml '))
|
||||
console.log(chalk.cyan('[PteroStats] ') + chalk.red('You are using old config file, please update your config file at ') + chalk.green('https://github.com/HirziDevs/PteroStats/blob/main/config.yml'))
|
||||
process.exit()
|
||||
}
|
||||
if (client.config.token.startsWith('Put') || !client.config.token.length) {
|
||||
|
||||
Reference in New Issue
Block a user