Added Rock, Paper, Scissors.

This commit is contained in:
2022-10-24 01:55:30 +02:00
parent 29f69fa40a
commit 6428c01e6c
8 changed files with 83 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ function onCommand(args, context) {
return;
}
if (config.platform === 'irc' && context.room.id === config.user.nick) {
if (config.platform === 'irc' && context.room.id === config.user.id) {
// if the room ID is the bot's own nickname, it's a PM and we should reply to the sender
context.sendMessage(args.join(' '), context.user.id, { label: false });
}