stardance has been extended another month! the new deadline is october 31 :)

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

Slack-Bot

  • 1 Devlogs
  • 2 Total hours

A Slack Bot! I am new to Stardance so I just followed the first tutorial I found, and now I have Slack and Hack Club setup! The Slack Bot provides 3 commands: ping, discover, and help. The ping and help command are trivial, and the discover command lets you search for the latest 25 arXiv papers for the topic you search for! I am still new to slack, so the demo URL just points to the bot-spam channel, where hopefully the bot will work for someone other than me. Usage: `/pancakeheads-bot-discover <topic>` or `/pancakeheads-bot-discover machine learning`

This project was vetted by Shipwrights and is now up for voting. You can ship again after making more updates.

Shipwright walkthrough

This needs changes before we can consider it shipped. Review the Shipwright feedback, make updates, then ship again.

Shipwright walkthrough

Ship #1

My Slack Bot is done! The bot provides 3 commands: ping, discover, and help. The ping and help command are trivial, and the discover command lets you search for the latest 25 arXiv papers for the topic you search for! It reuses an old API I made in Python a while back, but I had to learn to implement it in Node.js to use it. I am still new to slack, so the demo URL just points to the bot-spam channel, where hopefully the bot will work for someone other than me. Use /pancakeheads-bot-help to get started

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

1h 56m 41s logged

Got the Slack Bot working! It successfully uses an arXiv discover API of mine that I built a while back and integrates it using child_process in Node.js. It took a bit of time to debug why the JSON parsing was failing, but then I found an old print() statement where it shouldn’t be! Use /pancakeheads-bot-help to get started!

0
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…