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

My first slack bot!

  • 2 Devlogs
  • 2 Total hours

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

Ship #1

I made a Slack bot that has a bunch of animal commands. You can ask for a dog picture, a dog fact, a cat picture, cat facts, and more. I am pretty proud of this project because it is the first bot I made and hosted online. I learned so much throughout this project, and now I know what APIs are (and why everybody keeps talking about leaking them) and ssh, and so much more. You can test this project by either DMing the gabot, or doing /gabot-(something) in the bot-spam channel in the Hack Club slack

Try project → See source code →
Open comments for this post

1h 23m 14s logged

I added a couple new commands:

  • /gabot-catpic
  • /gabot-dogpic
  • /gabot-dogfact
    I managed to add tags to catpic, and added an error handler for when the tags weren’t recognized

I also added a new feature where if your message contains the word “bye” the bot automatically responds with a random message like bye, buh bye, ect.

0

Loading discussion…

0
0
Open comments for this post

24m 4s logged

I just finished the guide to make a Slack bot, and now im just waiting for my nest application to go though! I messed around a little with apis, and I think i learned a lot!

0

Loading discussion…

0
2

Followers

Loading…