Originaly, this bot was getting from last fm what a user was scrobling at the moment. Then it got a bit further and we added this feature and maybe in the future we will add that feature.
This code is far from optimized as it was made on a run just for a test.
.set .np .random
- set <lastfm username>
- np will make the bot tell the channel what you are currently listening (scrobling on lastfm)
- random will make the bot tell the channel a random (metal) band
Follow this guide to create the slackbot on slack, you will need the ID https://kazuar.github.io/building-slack-game-part1/
Slackclient, BeautifulSoup4, requests, pickle and ConfigParser
- add requirements.txt
- ...
- ...