This article will get you up and running with a Discord bot on your Raspberry Pi using the Discord.Py library.

Note

The code has been updated to reflect Discord.Py’s re-write.

You can always view latest code, and more examples for this post, here: https://github.com/gngrninja/blog/tree/master/DiscordBotPi

This assumes that you've installed and are using Raspbian.

Table of Contents

If you’d like to check out another programming language, check out my series on getting a C# Discord Bot up and running on a Raspberry Pi!