Last active
May 22, 2016 20:18
-
-
Save captDaylight/b08c734fe6e1d1d298bbccc79db9b138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hears(['accept'], 'ambient', (bot, message) => { | |
... | |
if (user in players && !players[user].accepted) { | |
bot.reply(message, 'GREAT, LET THE BATTLE BEGIN!!!'); | |
bot.startPrivateConversation(message, callback); | |
} else { | |
... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment