Added Rock, Paper, Scissors.
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user