Added IRC support (WIP).

This commit is contained in:
2022-10-17 04:06:55 +02:00
parent f7113b72ce
commit 4ce3f77c63
9 changed files with 490 additions and 71 deletions

View File

@@ -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;
}