issues
search
HidemichiShimura
/
slack-cocktail-bot
A useful slack bot which suggest a cocktail name for Today
0
stars
0
forks
source link
Integrating Cocktail API into handling the app_mention event
#34
Closed
HidemichiShimura
closed
1 year ago
HidemichiShimura
commented
1 year ago
Description
This integration allows my chat bot to post a random drink name when it is mentioned instead of saying "Hi"
Implementation
Created a function lookupRandomCocktail which returns a random drink name fetched from Cocktail API
Pass a random drink name fetched from Cocktail API to the function chatPostMessage for its argument
Description
Implementation