Unknown message format
Closed this issue · 3 comments
Loscillo commented
When a moderator ban an user, I get this message :
21 Jun 20:15:27 [WARNING] [plugAPI] UNKNOWN MESSAGE FORMAT
{
"a": "modBan",
"p": {
"m": "As2piK",
"mi": 4282601,
"t": "MC_盧moo",
"d": "f"
},
"s": "as2pik-2"
}
thedark1337 commented
Unknown Message Format is when we don't log or handle one of plug's events. Those can be ignored. Unless someone wants me to add a notification in the console for bans.
Loscillo commented
In the wiki, modBan is an event, so you can't remove the "unknown message format" for this ?
thedark1337 commented
https://github.com/plugCubed/plugAPI/blob/master/src/client.js#L877
I can add it to the list of events plugAPI does not need to handle or log when I get the time.