Update commands/crash.js

This commit is contained in:
4Parker02991 2024-01-27 10:45:13 -05:00
parent 5b3ebd5566
commit cf0783f6c1

View file

@ -13,7 +13,7 @@ const args = context.arguments
const source = context.source
if (!args && !args[0] && !args[1] && !args[2]) return
if(bot.options.Core.CorelessMode){
if(!bot.options.Core.enabled){
throw new CommandError('&4Coreless mode is active can not execute command!')
}else {
switch (args[1] ?? (!source.sources.console && args[0])) {