Skip hidden messages from /message command
This commit is contained in:
parent
c6aea00e27
commit
c259c0a72a
|
@ -212,6 +212,10 @@ function getMessagesCallback(args, value) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (message.is_system) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (includeNames) {
|
if (includeNames) {
|
||||||
messages.push(`${message.name}: ${message.mes}`);
|
messages.push(`${message.name}: ${message.mes}`);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue