Add message type to plainchat
This commit is contained in:
parent
5575ec02a2
commit
fcf3eab60a
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ module.exports = {
|
||||||
if (settings.logJSONmessages) console.log(data.json)
|
if (settings.logJSONmessages) console.log(data.json)
|
||||||
if (msgPlain.endsWith('\n\n\n\n\nThe chat has been cleared')) return
|
if (msgPlain.endsWith('\n\n\n\n\nThe chat has been cleared')) return
|
||||||
if (msgPlain.startsWith('Command set: ')) return
|
if (msgPlain.startsWith('Command set: ')) return
|
||||||
b.emit('plainchat', msgPlain)
|
b.emit('plainchat', msgPlain, data.type)
|
||||||
b.displayChat(data.type, `${msgConsole}\x1b[0m`)
|
b.displayChat(data.type, `${msgConsole}\x1b[0m`)
|
||||||
|
|
||||||
const fullCommand = data.message
|
const fullCommand = data.message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue