Last active
April 17, 2016 20:16
-
-
Save JonathanZWhite/e3fdacf4068c287b1830e79a5c05d867 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class Music { | |
getGenreList(message, bot) { | |
// clears store for new command tree | |
store.clearState(message.from) | |
store.update(message.from, { command: commands.GET_GENRE_LIST }) | |
bot.sendMessage(message.from, 'Choose a genre you would like a recommendation for 🎵', { | |
reply_markup: { | |
keyboard: genresJSON.genres, | |
one_time_keyboard: true | |
} | |
}) | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment