Update commands/crash.js
This commit is contained in:
parent
315f5e9738
commit
2e06642d9d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ const args = context.arguments
|
||||||
const source = context.source
|
const source = context.source
|
||||||
if (!args && !args[0] && !args[1] && !args[2]) return
|
if (!args && !args[0] && !args[1] && !args[2]) return
|
||||||
|
|
||||||
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 {
|
||||||
switch (args[1] ?? (!source.sources.console && args[0])) {
|
switch (args[1] ?? (!source.sources.console && args[0])) {
|
||||||
|
|
Loading…
Reference in a new issue