Building a serverless Discord bot in PowerShell and...
summary
Builds a serverless Discord bot using PowerShell 7.2+ and Azure Functions and ships code in a public repo for discord.net.powershell. Uses slash command deferral with 3 seconds to ack and a 15 minute followup token, implements an HTTP post chain instead of queues or durable functions to avoid high storage costs, and adds a 5 minute monitor to avoid frostbite. Claims monthly cost around $3/month. Demos run but cold starts sometimes cause timing failures.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:15Overview
- 7:28Prerequisites
- 7:47Demo Environment
- 10:29Function Chaining
- 11:55Durable Functions
- 24:05Creating a Discord Bot
- 33:13Dealing with frostbite
- 36:31Command Types
- 42:09Building the bot yourself
related talks
48mIntroduction to Serverless Functions
01h 02mScaling Serverless F# with Azure Functions
47mAzure Functions PowerShell: The Missing Manual
48mPowerShell in Azure Functions
54mDeveloper Fundamentals of Serverless NET Development with Azure Durable Functions
01h 27mUnleash your PowerShell with AWS Lambda and Serverless Computing
01h 01mDos and Don'ts for Serverless and Azure Functions
46mDeveloper Fundamentals of Serverless.NET Development with Azure Durable Functions
