π¦unkown
The unkown
event is an internal event from EpiC IRC, triggered whenever an unrecognized command is received. This allows users to debug unknown commands.
bot.on('unknown', (data) => {
// Your Code Here
});
Parameters
data.command (string) β The unrecognized command.
data.raw (string) β The raw message data from the server.
Last updated