Skip to content

Instantly share code, notes, and snippets.

@captDaylight
Last active May 22, 2016 21:05
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/d8486855a5f5febce068735ff32af18a to your computer and use it in GitHub Desktop.
Save captDaylight/d8486855a5f5febce068735ff32af18a to your computer and use it in GitHub Desktop.
} else {
const gameResults = playerIDs.map((id) => `<@${id}> played ${players[id].played}`);
bot.reply(message, gameResults.join(' & '));
// reset the game data
channels.save({ id: updateData.id }, (err) => {
if (err) throw err;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment