Update commands/bots.js
This commit is contained in:
parent
2eba21a574
commit
f3b2d1208b
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ module.exports = {
|
||||||
const bot = context.bot;
|
const bot = context.bot;
|
||||||
if (query.length === 0) {
|
if (query.length === 0) {
|
||||||
const list = [];
|
const list = [];
|
||||||
if(!bot.options.Core.CorelessMode){
|
if(bot.options.Core.CorelessMode){
|
||||||
throw new CommandError('Coreless mode is active can not execute command!')
|
throw new CommandError('Coreless mode is active can not execute command!')
|
||||||
}else{
|
}else{
|
||||||
for (const info of bots) {
|
for (const info of bots) {
|
||||||
|
|
Loading…
Reference in a new issue