Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Creating a Discord Bot in Python (Overview)

In a world where video games are so important to so many people, communication and community around games are vital. Discord offers both of those and more in one well-designed package. In this course, you’ll learn how to make a Discord bot in Python so that you can make the most of this fantastic platform.

By the end of this course you’ll learn:

  • What Discord is and why it’s so valuable
  • How to make a Discord bot through the Developer Portal
  • How to create Discord connections
  • How to handle events
  • How to accept commands and validate assumptions
  • How to interact with various Discord APIs
Download

Sample Code (.zip)

13.6 KB
Download

Course Slides (.pdf)

305.5 KB

00:00 Hi there! My name is Andrew Stephen, and welcome to the Real Python tutorial of How to Make a Discord Bot in Python.

00:07 We all live in a world where video games are so important to so many people, and these days, communication and community around these games are vital. Discord offers both of those and more in one well-designed package.

00:19 In this tutorial, you’ll learn how to make a Discord bot in Python, so that you can make the most of this fantastic platform. This course has 14 parts, including this introduction.

00:29 It will take you through setting up accounts, creating a bot, writing code to program your bot, all the way up to a conclusion, which is a short review of what you went through and learned.

00:39 At the end of this course, you will learn what Discord is and why it’s so valuable, how to make a Discord bot through the Developer Portal, how to create Discord connections, how to handle events, how to accept commands and validate assumptions, and finally, how to interact with various Discord APIs.

00:58 But firstly, what is Discord? And why is it so useful? And what, exactly, is a bot? Well, Discord, at least on the surface, is an instant messaging platform with the capability of voice communication.

01:10 It is commonly used by gamers to easily communicate with other gamers, either in-game or outside of gaming times. It also has an integrated game store, which comes with critical reviews and a subscription service.

01:22 For gaming communities it has become a real one-stop shop. Discord APIs can be used to make many useful things, but, as mentioned earlier, today you will learn how to use these APIs to make a bot.

01:34 What exactly is a bot? Well, let’s cover that in the next video.

Become a Member to join the conversation.