TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Create and deploy a Discord bot in Rust, in under 20 minutes (for free)

1 pointsby dohguyover 2 years ago

1 comment

dohguyover 2 years ago
shuttle has released support for Serenity (a Rust library for the Discord API) a while back and now we have a tutorial ready for anyone willing to give it a go: <a href="https:&#x2F;&#x2F;www.shuttle.rs&#x2F;blog&#x2F;2022&#x2F;09&#x2F;14&#x2F;serentity-discord-bot" rel="nofollow">https:&#x2F;&#x2F;www.shuttle.rs&#x2F;blog&#x2F;2022&#x2F;09&#x2F;14&#x2F;serentity-discord-bot</a> (creating a simple Discord bot, extending it to a weather forecast bot and deploying it with shuttle, for free).<p>To give you some context on shuttle; it is a Rust-native cloud development platform (open-source) that allows you to deploy your Rust app (or Discord bot, in this case) by adding a single annotation to your main file. Once you do that, you can run `cargo shuttle deploy` and your app&#x2F;bot is all set!