Open comments for this post
Hey there!
This is the first devlog for Slack.fm, so I’ll give you a broad explanation first!
The bot simply uses the last.fm API to fetch data about users. The goal is it to send last.fm data directly into Slack channels, so users can share what they are listening to! This project is inspired by .fmbot on Discord!
What did I do in this devlog though?
Well, I first setup the bot with the “Make a Slack Bot” mission from Stardance! I used this to create the ping command, but quickly decided to instead create a full command handler. I really like my projects organized, so that’s the best choice! Now, I can put my commands into different files in src/commands, such as src/commands/fm.ts! The commandManager searches for these command files and imports them.
My next goal is it to set up some more stuff and request an API key from last.fm!
Open comments for this post
Hey there!
This is the first devlog for Slack.fm, so I’ll give you a broad explanation first!
The bot simply uses the last.fm API to fetch data about users. The goal is it to send last.fm data directly into Slack channels, so users can share what they are listening to! This project is inspired by .fmbot on Discord!
What did I do in this devlog though?
Well, I first setup the bot with the “Make a Slack Bot” mission from Stardance! I used this to create the ping command, but quickly decided to instead create a full command handler. I really like my projects organized, so that’s the best choice! Now, I can put my commands into different files in src/commands, such as src/commands/fm.ts! The commandManager searches for these command files and imports them.
My next goal is it to set up some more stuff and request an API key from last.fm!