You are browsing as a guest. Sign up (or log in) to start making projects!

VJS - Vejas' Slackbot

  • 6 Devlogs
  • 8 Total hours

This bot isn't slacking off (like me), it replies to messages 24/7!

Open comments for this post

44m 10s logged

I added a feedback form which can be triggered using /vjs feedback. I had AI help me with adding the form since I needed to use a view in slack and I didn’t know how to handle the feedback that was received.

I added a feedback form which can be triggered using /vjs feedback. I had AI help me with adding the form since I needed to use a view in slack and I didn’t know how to handle the feedback that was received.

Replying to @vejas

0
Open comments for this post

50m 33s logged

i added a feature that switches my slack pfp every 5 minutes, and that took some while to set up, since the api slack uses is rrly weird. but with some help from ai, i finally got it working whichis really cool since now my pfp switches into a different fallout pfp every 5 mins.

i added a feature that switches my slack pfp every 5 minutes, and that took some while to set up, since the api slack uses is rrly weird. but with some help from ai, i finally got it working whichis really cool since now my pfp switches into a different fallout pfp every 5 mins.

Replying to @vejas

0
Open comments for this post

1h 27m 7s logged

I ended up adding eightball, trivia and polls.
For the eightball, i used this api : https://www.eightballapi.com and it just outputs the text from the api.
for trivia, I found an API that provides 4 answers (1 correct, 3 incorrect) and i made buttons that set as the answers. Then i had gemini help with some of the logic and fs file handling for the leaderboard. I noticed that if the leaderboard was gonna send to the channel, everyone on the leaderboard would get pinged, so i made it send a hidden message to the person asking.
for the poll, the user enters their question and their answers (all in “quotation” marks so everything gets separated) and then I use slack blocks in pretty much everywhere to display the content nicely. it makes buttons for the answers and people can pick them.

i also added a weather function and gemini parses the weather api and you can choose the city and the number of days default to 1. this was kinda easy since the api also has validation and e.g. if u enter a country it auto chooses the capital.

I ended up adding eightball, trivia and polls.
For the eightball, i used this api : https://www.eightballapi.com and it just outputs the text from the api.
for trivia, I found an API that provides 4 answers (1 correct, 3 incorrect) and i made buttons that set as the answers. Then i had gemini help with some of the logic and fs file handling for the leaderboard. I noticed that if the leaderboard was gonna send to the channel, everyone on the leaderboard would get pinged, so i made it send a hidden message to the person asking.
for the poll, the user enters their question and their answers (all in “quotation” marks so everything gets separated) and then I use slack blocks in pretty much everywhere to display the content nicely. it makes buttons for the answers and people can pick them.

i also added a weather function and gemini parses the weather api and you can choose the city and the number of days default to 1. this was kinda easy since the api also has validation and e.g. if u enter a country it auto chooses the capital.

Replying to @vejas

0
Open comments for this post

28m 19s logged

I created the logo / icon for the slack app in figma using the anchor guide to remind myself on how to make nice logos.

I created the logo / icon for the slack app in figma using the anchor guide to remind myself on how to make nice logos.

Replying to @vejas

0
Open comments for this post

1h 44m 33s logged

I added the QR code generation feature that lets you add a link or text, and lets you choose things like color or format. I added a stock checker function, but it doesnt work very well. I also added an email checker feature that works, but is kind of shallow information wise (APIs fault)
I also added a “-q” flag that would determine if the response would be sent to the whole channel or just you.

I added the QR code generation feature that lets you add a link or text, and lets you choose things like color or format. I added a stock checker function, but it doesnt work very well. I also added an email checker feature that works, but is kind of shallow information wise (APIs fault)
I also added a “-q” flag that would determine if the response would be sent to the whole channel or just you.

Replying to @vejas

0
Open comments for this post

2h 36m 30s logged

I made the slack bot. The slack bot has some basic commands like /vjs-meow for catfacts and /vjs-joke for an arbitrary joke, but then I added some more intricate ones like a dictionary and synonym API so people could quickly find the meaning of a word. (I am planning to add a condition that would either ‘whisper’ it or just broadcast to the channel by default. I have also added /vjs-name which would let the user enter a name and it outputs the nationality of the name and the gender of the name according to an API.

I made the slack bot. The slack bot has some basic commands like /vjs-meow for catfacts and /vjs-joke for an arbitrary joke, but then I added some more intricate ones like a dictionary and synonym API so people could quickly find the meaning of a word. (I am planning to add a condition that would either ‘whisper’ it or just broadcast to the channel by default. I have also added /vjs-name which would let the user enter a name and it outputs the nationality of the name and the gender of the name according to an API.

Replying to @vejas

0

Followers

Loading…