Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Fusebot – Developer bot for Discord and Slack (fusebot.io)
76 points by chrismore on May 29, 2021 | hide | past | favorite | 31 comments



I've been working on something similar as a side project. A serverless Discord Bot solution that runs a custom made SDK. We take a very similar approach to Cloudflare Workers where we run user's applications in v8 isolates.

I'm the only person working on this, and mostly in my spare time, but check it out: https://pylon.bot/

Here's the SDK docs so you can see the breadth of what's possible:

- https://pylon.bot/docs/intro - https://pylon.bot/docs/reference/index.html

We're still in beta, but a lot of people are using the bot today. One thing that's great is that you can rapidly iterate on your code without "restarting" the bot because of how the infrastructure is set up. Deploy of your script takes less than a second. And, we support more than just what appears to be registering a single slash command :P


I am reminded of YAGPDB.xyz https://docs.yagpdb.xyz/reference/custom-command-examples

It uses Golang text/template functions to do some eay bot extension. It's less complete than this but it's also got a lot more boilerplate out of the way.


I can confirm this is super cool! We added the pylon bot to our server and so far it was the best bot that we ever had! Almost 99% of uptime. Thank you so much for this!


Do you have any technical docs on how you use V8 in this case?


Very cool. I will check it out.


I went ahead and did a helper bot for my game using discord.js in typescript.

It even has daily trivia and a currency -- necrocoins.

I think it went relatively well, but I can understand why other people go for serverless solutions.

For those that want to know, google cloud's free tier was and is enough to handle a bot with relatively low amount of active players (around 590 as of this post)


I've also made a Discord slash commands bot recently in a single AWS Lambda (Node.js) and a DynamoDB table (all free tier). My only dependency is `discord-interactions`, to validate requests, which Discord requires.

I like the serverless approach because if the bot commands are only used a few times a day, the lambda only has to run a few times a day and takes at most 0.5 sec (Discord has a 3 second timeout for slash commands)


Yes, serverless is a great match, especially for human-triggered slash commands.

BTW, Fusebot is not subject to the 3s limitation. We take care of responding to Discord within 3s and then let you run your code for longer than 3s and send any number of responses afterwards.


Oh nice. Did other people use your bot or was it mostly for your channels?


It was mostly for my channels and discord server to provide a way to collect creatures, trade them, buy and sell items, etc.

I haven't really considered open sourcing it yet, but I can see how other monster taming games may eventually want to implement something like it ;D


Note that ‘no sign up or server’ is regarding this service, not discord itself - to have a bot (or use/test it) you need a Discord account still.


Good point. Yeah, no sign up for the service, but if your Discord or Slack instance requires auth, you would need to do that.


Fusebot is a Discord and Slack bot maker to create custom slash commands using JavaScript/Node.js/npm with a web IDE.


does seem to just be /slash commands.

Saw the name fusebot and was hoping for another way to bridge discord/matrix/twitter/insert-other-thing-here - that could be smart enough to send copies when it detects X thing or Y person.

Like the landing page though - and nice thought to put 'Too busy now to install? Sign up for a reminder'


Yes it is just for slash commands for now. What mode of iteraction would you like to see? What do you mean when you say "send copies when it detects X thing or Y person"?


if I had a 24/7 bot could sit in a discord and listen.. when it hears and word from [list of words] - it copies that statement and sends it to [my fantasy yahoo pipes remake] that emails me a copy and adds a post to my private wordpress and..

If it hears that a person from [list of persons] says something, it copies what they said, along with timestamp, send copies to my other places..

this way I can get notified upon specific events and don't have to watch 24/7 to see when 'princessK' posts a new decree.. or someone mentions digitalCoin X..

I could see that being used a lot by many people.. I would love to have a few other messages posted before and after [said event] also sent.. this way I could likely scan an email while on the go and get some context..

I'd also use such a bot for moderation warnings.. and if I can send a post to my private-wordpress - then all of my moderators can get auto-notified that a new post was made - which could include details like [badKeyword] was said.. but person Nickname.. timestamp.. possibly include the 5 lines of chat before..

I guess kind of like how google alerts works.. and there are bridges with matrix that would allow one to cross post and such.


I get what you are saying and your mention of yahoo pipes makes me nostalgic. I'd love to discuss it more if you can join our discord/slack at https://fusebit.io/contact. In particular I am interested in how you would want to express the logic behind those rules - do you see yourself writing a piece of JavaScript?


Seems to just hang after /fusebot command in discord? Is it overwhelmed?


Try now


Yep, think that did the trick!

Code editing isn't great on mobile - should maybe be able to point to a github gist/file or something?


Yeah, we have been discussing about a mobile-friendly web IDE. How would you prefer to do development on mobile?


I think that on a phone,I'd prefer a native app for editing/writing (does not have to be part of your product) - and an easy way to upload/paste in code.

Along with a very simple web editor for simple changes.

Ed: probably the minimum for editing on a phone is a dedicated screen/view/activity for editing - as the on screen keyboard takes up a lot of room.


Me too. Looking into it.


Just wanted to say kudos for the easy onboarding process and great documentation. (https://github.com/fusebit/fusebot)


Thank you! You can also find us on Discord and Slack: https://fusebit.io/contact


I'm not super familiar with this space but at first glance this seems great!

I've been meaning to goof around with discord bots. When I do, I'll be sure to check it out.


Offtopic: Do Zoom bots exist, or technically possible?


Here [1] are the types of things you can make with Zoom APIs. Perhaps you'd like to make a Chatbot integration or an SDK integration?

[1] https://marketplace.zoom.us/docs/guides/build


What is it you'd like to do with Zoom from Discord? Fusebot allows you to write code in Node.js and use all public npm modules, so you can pretty much do anything.


it just needs MS Teams j/k


We hear your yavorg, will make it happen ;)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: