Update commands/bots.js

This commit is contained in:
4Parker02991 2024-01-27 09:47:26 -05:00
parent 2eba21a574
commit f3b2d1208b

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.CorelessMode){
throw new CommandError('Coreless mode is active can not execute command!')
}else{
for (const info of bots) {