Update commands/core.js
This commit is contained in:
parent
1ea411785c
commit
315f5e9738
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module.exports = {
|
||||||
if (args[0] === undefined){
|
if (args[0] === undefined){
|
||||||
source.sendFeedback({translate:"Too few Arguments!", color:"red"})
|
source.sendFeedback({translate:"Too few Arguments!", color:"red"})
|
||||||
}
|
}
|
||||||
if (!bot.options.Core.CorelessMode){
|
if (bot.options.Core.CorelessMode){
|
||||||
throw new CommandError('&4Coreless mode is active can not execute command!')
|
throw new CommandError('&4Coreless mode is active can not execute command!')
|
||||||
}else{
|
}else{
|
||||||
if (message.startsWith('/')) {
|
if (message.startsWith('/')) {
|
||||||
|
|
Loading…
Reference in a new issue