Build a DISCORD Slash Command BOT with Cloudflare Workers!! Deploy FREE!
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 command.
So, what is Cloudflare workers? It’s a serverless platform running on the edge, that lets you create new apps or augment existing ones without configuring or maintaining infrastructure.
Glenstack Project: https://github.com/glenstack/glenstack/tree/master/packages/cf-workers-discord-bot
Source Code: https://github.com/codeSTACKr/discord-slash-demo
_____________________________________
🦸 Become A VS Code SuperHero Today: https://vsCodeHero.com
🧑🏾🤝🧑🏽 Join my Discord developer community: https://discord.gg/A9CnsVzzkZ
🤖 Get FREE AI-powered code completions from Kite: https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=codestackr&utm_content=description-only
📚 FREE 7-Day trial at Treehouse: https://treehouse.7eer.net/codeSTACKr
_____________________________________
🛠️ Tools I use:
🟠 codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
🟠 STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
🟠 SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
_____________________________________
⏱️ Timestamps ⏱️
00:00 – Intro
00:33 – What is Cloudflare Workers?
04:17 – Installing Wrangler CLI
04:53 – Workers Test Project
07:52 – What is a Discord Slash Command?
08:09 – Discord Slash Command Example Code
09:02 – Setup Discord Application / Bot
09:29 – Cloudflare Workers Discord Bot Package
10:01 – Discord Slash Command Project (Basic Build)
20:10 – Discord Slash Command Project (Advanced Build)
_____________________________________
💖 Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________
👀 Watch Next:
Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________
🌐 Connect With Me:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr
_____________________________________
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
#codeSTACKr #Discord #Cloudflare
source