Skip to content

Instantly share code, notes, and snippets.

@captDaylight
Last active May 15, 2016 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save captDaylight/a7341f17da3d8c2485a3de0beeaedd0b to your computer and use it in GitHub Desktop.
Save captDaylight/a7341f17da3d8c2485a3de0beeaedd0b to your computer and use it in GitHub Desktop.
if (userData) {
...
channels.save(gameData, (err) => {
if (err) throw err;
bot.say({
text: `<@${playerTwo}> you've been challenged to a game of ROCK PAPER SCISSORS by <@${user}>, say \`accept\` unless you're too scared.`,
channel,
});
});
} else {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment