Added IRC support (WIP).
This commit is contained in:
@@ -11,6 +11,8 @@ function onCommand(args, context) {
|
||||
const roomName = args[0].replace(/#+/, '');
|
||||
const room = context.room || Object.values(context.bot.rooms).find((botRoom) => botRoom.name === roomName);
|
||||
|
||||
console.log(message, roomName, room);
|
||||
|
||||
if (!room) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user