From 55ecaba34b2ec3787139f96c173dad743d944547 Mon Sep 17 00:00:00 2001 From: lucmsilva651 Date: Sat, 27 Jul 2024 12:19:35 -0300 Subject: [PATCH] Renamed the su list to the new admin method, Crew --- commands/{su.js => crew.js} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename commands/{su.js => crew.js} (97%) diff --git a/commands/su.js b/commands/crew.js similarity index 97% rename from commands/su.js rename to commands/crew.js index f6d348b..7e97f5b 100644 --- a/commands/su.js +++ b/commands/crew.js @@ -1,4 +1,4 @@ -// specific commands to bot admins +// specific commands to the crew const Config = require('../props/config.json'); const { getStrings } = require('../plugins/checklang.js'); const os = require('os'); @@ -34,7 +34,7 @@ function getSystemInfo() { } module.exports = (bot) => { - bot.command('stats', (ctx) => { + bot.command('getbotstats', (ctx) => { const Strings = getStrings(ctx.from.language_code); const userId = ctx.from.id || Strings.unKnown; if (Config.admins.includes(userId)) {