Last active
May 22, 2016 21:04
-
-
Save captDaylight/57ada4d016946be0abdc23cf650515f6 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
channels.get(channel, (err, data) => { | |
... | |
if (onlyOnePlayed) { | |
channels.save(updateData, (err) => { | |
if (err) throw err; | |
bot.reply(message, `<@${user}> has played!`); | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment