fix(command): 🐛 add missing return
This commit is contained in:
parent
902732c6dd
commit
5b4718fa5d
|
@ -440,6 +440,7 @@ function command(username, message) {
|
||||||
} else if (!item) {
|
} else if (!item) {
|
||||||
console.log("don't have:", message_parts[1])
|
console.log("don't have:", message_parts[1])
|
||||||
cfg.quiet || bot.chat(`don't have item: ${message_parts[1]}`)
|
cfg.quiet || bot.chat(`don't have item: ${message_parts[1]}`)
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
switch (message_parts.length) {
|
switch (message_parts.length) {
|
||||||
case 2:
|
case 2:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user