Update commands/bots.js

This commit is contained in:
4Parker02991 2024-01-27 10:39:21 -05:00
parent 93602a3c80
commit 6649de3985

View file

@ -260,7 +260,7 @@ module.exports = {
const bot = context.bot;
if (query.length === 0) {
const list = [];
if(bot.options.Core.CorelessMode){
if(!bot.options.Core.enabled){
throw new CommandError('Coreless mode is active can not execute command!')
}else{
for (const info of bots) {