Starting Out:
Okay, so I think this is the first dev log I have ever made and also the first time I’m using JavaScript, so forgive me if my code looks very messy. So far in my slack bot, I have six commands currently available: help, ping, catfact, forecast, colorpallete, and joke.
Forecast took me an absurdly long time to make because I had no idea what I was doing. It took me like halfway through making it to realize that I could just use console.log() to help debug, which made it a whole lot easier to see what went wrong. An example of the command is attached to this post.
I’m not sure what else to add or work on for the slack bot, so it would be great if I could get some suggestions. Also, some advice in regard to JavaScript would be amazing because I still know very little about the language.
Comments 1
Great! I have a suggestion! add a command where the bot recieves an input of a timezone, and it gives out the current time in that specific timezone. For example if someone is in california, they can select the Tokyo timezone and see what is the current time in tokyo, or you could make it so the bot takes 2 queries, the time and the timezone, so you can convert ANY time to that specific timezon. You could make it so that if the user specifies the time, then it uses that time, but if they dont then it uses the current time. Just an idea.
Sign in to join the conversation.