From 7724c8f65bd1c063ff9bee17739e200cc2198c9f Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 23 May 2020 19:45:55 +0300 Subject: [PATCH] Add supported to !about --- backend/src/plugins/Utility.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/backend/src/plugins/Utility.ts b/backend/src/plugins/Utility.ts index ff0f5ae3..b2802682 100644 --- a/backend/src/plugins/Utility.ts +++ b/backend/src/plugins/Utility.ts @@ -1495,12 +1495,19 @@ export class UtilityPlugin extends ZeppelinPlugin { const loadedPlugins = Array.from(this.knub.getGuildData(this.guildId).loadedPlugins.keys()); loadedPlugins.sort(); + const supporters = [ + ["Flokie", 10], + ["CmdData", 1], + ["JackDaniel", 1], + ]; + supporters.sort(sorter(r => r[1], "DESC")); + const aboutContent: MessageContent = { embed: { title: `About ${this.bot.user.username}`, fields: [ { - name: "Basic info", + name: "Status", value: basicInfoRows .map(([label, value]) => { @@ -1512,6 +1519,10 @@ export class UtilityPlugin extends ZeppelinPlugin { name: `Loaded plugins on this server (${loadedPlugins.length})`, value: loadedPlugins.join(", "), }, + { + name: "Zeppelin supporters 🎉", + value: supporters.map(s => `**${s[0]}** ${s[1]}€/mo`).join("\n"), + }, ], }, };