From 7ffe8524d87d67f6e8448d5dd6ee6f396308306f Mon Sep 17 00:00:00 2001 From: Hirzi <64255651+HirziDevs@users.noreply.github.com> Date: Tue, 13 Jul 2021 12:15:14 +0700 Subject: [PATCH] v1.1.8 --- config.json | 15 --------------- config.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 15 deletions(-) delete mode 100644 config.json create mode 100644 config.yml diff --git a/config.json b/config.json deleted file mode 100644 index 49658a3..0000000 --- a/config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "token": "BOT TOKEN", - "panelurl": "HOST PANEL LINK", - "clientapikey": "CLIENT APIKEY", - "adminapikey": "ADMIN APIKEY", - "channel": "CHANNEL ID", - "hostname": "HOSTING NAME", - "embedcolor": "E5BE11", - "monline": ":green_circle: Online", - "moffline": ":red_circle: Offline", - "mcheck": ":orange_circle: Checking", - "footer": "By Hirzi#8701", - "enabletimestamp":"yes", - "time": "60" -} diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..cc52416 --- /dev/null +++ b/config.yml @@ -0,0 +1,37 @@ +# PteroStats config +# If you need help, join our discord server: https://discord.gg/9Z7zpdwATZ + +# Bot Info's +token: 'BOT TOKEN' # Put bot token here, check https://discord.dev to create and get bot token +botstatus: + enable: false # Enable Custom Status (MUST BE "TRUE" OR "FALSE") + text: 'Hosting Panel' # Bot Status Message + type: 'WATCHING' # Bot Status Type. Ex: PLAYING, WATCHING, LISTENING, STREAMING + +# Channel and RefreshTime Configuration +channel: 'CHANNEL ID' # Put channel id here where the embed will be sended +refreshtime: 60 # Time when the embed edited/refreshed (MUST BE A SECONDS) + +# Panel Info's +panel: + url: 'HOST PANEL LINK' # Put panel url here. Example: https://panel.purenodes.net + clientkey: 'CLIENT APIKEY' # Put Client ApiKey here. check https://your.host.url/account/api (your.host.urrl is an example link)to get the Client Apikey + adminkey: 'ADMIN APIKEY' # Put Admin Apikey here. check https://your.host.url/admin/api (your.host.urrl is an example link) to get the Admin ApiKey + +# Embed Configuration +embed: + title: 'EMBED TITLE' # Embed Title here. Ex: PureNodes Stats + color: 'E5BE11' # Embed Hex color here. + description: + enable: false # Enable Embed Description (MUST BE "TRUE" OR "FALSE") + text: 'EMBED DESCRIPTION' # Embed Description + footer: + enable: true # Enable Embed Footer (MUST BE "TRUE" OR "FALSE") + text: 'By Hirzi#8701' # Embed Footer + timestamp: true # Enable Embed TimeStamp (MUST BE "TRUE" OR "FALSE") + +# Status Message Configuration +status: + online: ':green_circle: Online' # Message if the status is Online + offline: ':red_circle: Offline' # Message if the status is Offline + check: ':orange_circle: Checking' # Message if the status is Checking