Update commands/bots.js
This commit is contained in:
parent
93602a3c80
commit
6649de3985
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue