From 9c5a39454178706fb4441c625664a871d53a6f08 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Wed, 2 Feb 2022 21:16:28 +0700 Subject: [PATCH] Added config example This file is also used as template if normal .json file is not found --- configs/Ping.example.json | 15 +++++++ configs/ServiceAnnouncement.example.json | 55 ++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 configs/Ping.example.json create mode 100644 configs/ServiceAnnouncement.example.json diff --git a/configs/Ping.example.json b/configs/Ping.example.json new file mode 100644 index 0000000..f22d237 --- /dev/null +++ b/configs/Ping.example.json @@ -0,0 +1,15 @@ +[ + { + "type": "ping", + "title": "☁️ Internet | ", + "host": "1.1.1.1" + }, + { + "type": "discordwebsocket", + "title": "🚀 Discord Websocket | " + }, + { + "type": "discordhttp", + "title": "🏓 Discord HTTP | " + } +] diff --git a/configs/ServiceAnnouncement.example.json b/configs/ServiceAnnouncement.example.json new file mode 100644 index 0000000..f28b9c8 --- /dev/null +++ b/configs/ServiceAnnouncement.example.json @@ -0,0 +1,55 @@ +{ + "News": { + "color": "#FAEDF0", + "title": "📰 Newsletter", + "description": "\u200B\n**{bot_username} have been super-charged and upgraded!**\nThe long-awaited update is now here, running latest and greatest version!\n\n**What's new?**\n\u200B\n", + "fields": [ + { + "name": "🔥 Feature 1!", + "value": "\u200B\nSuch wow! New feature so cool 10/10!!!!\n\u200B\n", + "inline": false + }, + { + "name": "✨ Shiny and new feature!", + "value": "\u200B\nNow brighter than ever!\n\u200B\n", + "inline": false + }, + { + "name": "🪲 Bugs squashed", + "value": "\u200B\nBe gone, bugs!\n\u200B\n", + "inline": false + } + ], + "thumbnail": { + "url": "bot_avatar" + } + }, + "Maintenance": { + "color": "#383b80", + "title": "🔧 Maintenance", + "description": "{bot_username} will be down for maintenance\nThe maintenance includes feature improvement to bug fixes\n\nDuring the maintenance, {bot_username}'s commands and features will be unavailable", + "fields": [ + { "name": "Start", "value": "", "inline": true}, + { "name": "End", "value": "", "inline": true} + ], + "thumbnail": { + "url": "bot_avatar" + } + }, + "Message": { + "color": "#A1DE93", + "title": "✉️ Message", + "description": "Hello everyone!", + "thumbnail": { + "url": "bot_avatar" + } + }, + "Alert": { + "color": "#EC255A", + "title": "🚨 Alert", + "description": "{bot_username} currently has an issue with lack of food, {bot_username} need more FOOD! MORE AND MORE!.\nWe're fixing it ASAP", + "thumbnail": { + "url": "bot_avatar" + } + } +} \ No newline at end of file