Session

Building a serverless Discord bot in PowerShell and Azure Functions

Discord may not be used as much in corporate communications as Teams or Slack, but when it comes to automating it with a bot, you can certainly do so with PowerShell.

If you hear 'chat bot' and 'PowerShell', you're probably thinking PoshBot, which is great, but I don't like the requirement of running a service for my bot to work. I like to save some money and run it in an Azure Function, which is possible using Discord's slash commands. In fact, my bot costs me just a few cents a month to run.

In this session, we'll walk through the serverless, slash-command based bot architecture so we fully understand the requirements. Then we'll dive right into how to create commands in your Discord server leveraging the Discord API (and my Discord PowerShell module) and then pairing those commands with matching calls in your Azure Function.

Anthony Howell

Cloud Platform Architect, Evolent Health

Eugene, Oregon, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top