Anyone know a Serverless Discord Bot framework/template?

otherwise i gotta make my own
14 Replies
Samathingamajig
SamathingamajigOP3y ago
and before anyone comes with a "you cant make a serverless discord bot", yes you can
Samathingamajig
SamathingamajigOP3y ago
thanks to the power of slash commands (also google it)
Pod
Pod3y ago
codeSTACKr
YouTube
Build a DISCORD Slash Command BOT with Cloudflare Workers!! Deploy ...
Cloudflare Workers: https://workers.cloudflare.com/ Docs with tutorials, examples, starters: https://developers.cloudflare.com/workers/ In this video, we're going to take a look at Cloudflare Workers. I'll give you an overview of what Workers is and what you can do with it. Then, we'll use Workers to build and implement a Discord slash comman...
Samathingamajig
SamathingamajigOP3y ago
npm
slash-create
Create and sync Discord slash commands!. Latest version: 5.11.0, last published: a month ago. Start using slash-create in your project by running npm i slash-create. There are 5 other projects in the npm registry using slash-create.
Samathingamajig
SamathingamajigOP3y ago
this is promising and has a cli for updating slash commands
Samathingamajig
SamathingamajigOP3y ago
Samathingamajig
SamathingamajigOP3y ago
blessjmg
Pod
Pod3y ago
lol
velvox
velvox3y ago
what language?
velvox
velvox3y ago
If it's TS, technically discord has their own framework https://github.com/discord/discord-interactions-js
GitHub
GitHub - discord/discord-interactions-js: JS/Node helpers for Disco...
JS/Node helpers for Discord Interactions . Contribute to discord/discord-interactions-js development by creating an account on GitHub.
velvox
velvox3y ago
It's not super updated But it gives you the primitives to handle the rest of creating and responding to interactions
Samathingamajig
SamathingamajigOP3y ago
ts
JacobMGEvans
JacobMGEvans3y ago
Yeah my coworker made one, its not perfect but it works and is for workers https://github.com/mrbbot/slshx
GitHub
GitHub - mrbbot/slshx: ⚔️ Strongly-typed Discord commands on Cloudf...
⚔️ Strongly-typed Discord commands on Cloudflare Workers - GitHub - mrbbot/slshx: ⚔️ Strongly-typed Discord commands on Cloudflare Workers
JacobMGEvans
JacobMGEvans3y ago
dats my face

Did you find this page helpful?