Skip to content

Instantly share code, notes, and snippets.

@captDaylight
Last active May 15, 2016 22:42
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/de002a7f7e7421def92ccc3a25471554 to your computer and use it in GitHub Desktop.
Save captDaylight/de002a7f7e7421def92ccc3a25471554 to your computer and use it in GitHub Desktop.
function privateConvo(bot, message) {
const { user, channel } = message;
return (err, convo) => {
if (err) throw err;
convo.ask(...);
// on end, update game data and broadcast info
convo.on('end', callback);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment