
Learn to build Discord bots in Python from setup to advanced features, including events, commands, error handling, cogs, permissions, and practical projects like music and battleships.
Learn to create a Discord bot by using the Discord portal to build an application, generate a private token, and invite the bot to your server with administrator permissions.
Create a new folder and file, import the Discord library, initialize a bot client, and run the bot using a token from the developer portal to connect with Discord.
Explore how Discord bot events work, focusing on the on_ready event, with decorators and asynchronous programming to trigger actions like greeting a user when the bot goes online.
Implement the on_message event to respond to hello using message content, with async/await for sending, filtering bot messages, and greeting users by display name.
Learn to build a Discord bot that greets new server members using the on_member_join event, enabling presence and server members intents, creating a DM channel, and sending a welcome message.
Assign DC and Marvel fan roles by reacting to a specific message with spider or bat emojis, using on raw reaction add and payload data.
Learn to remove a role when a user removes a reaction by reusing the reaction add logic and fetching the member from the guild, then calling remove_role.
Learn to build discord bot commands with the discord.py library and commands extension, using a '!' prefix, async functions, @commands.command(), and ctx.send to reply.
Develop a simple discord bot coin flip command that uses Python's random library to print heads or tails at random, via a decorated command with a context parameter.
Create a rock, paper, scissors command for the Discord bot that reads your chosen emoji, randomly selects the bot’s hand, compares outcomes, and reports who won.
learn to build a discord bot help command in python using embeds to list commands, with an about alias and vertically arranged fields.
Learn to build a moderation bot in python that edits server properties, including name and region, and creates text and voice channels and roles using nested subcommands.
Build a Discord moderation bot with kick, ban, and unban commands in Python, converting inputs to member objects, handling optional reasons, and unbanning by name and discriminator.
Implement a moderation bot command that deletes messages by amount or by date, using limit, after, and before parameters with a date-time object.
Learn to build moderation commands for a discord bot: mute, unmute, and kick users from voice channels using member.edit, boolean flags, and permission checks.
Explore checks to control who can run bot commands, implement context-based guard functions, and apply role or permission requirements for safe Discord moderation bots.
Learn how error handlers react to command errors like missing arguments or missing roles and respond with helpful messages. Use decorators and context to implement region validations and error responses.
Learn how cogs bundle related commands and events into a class to organize a discord bot, then use extensions to load, unload, and reload them at runtime.
Create and manage tasks in a Python Discord bot, looping commands every five seconds, with start and stop controls, and build an alarm task.
Learn to build a music bot for a Discord server with Python, including joining voice channels, playing YouTube music by keyword or link, and managing a track queue.
Install mpeg on Windows by downloading the Windows build, extracting the archive, and adding the bin path to your environment variables, then verify with the command prompt.
Install ffmpeg on macOS by installing homebrew, pasting the terminal commands, and entering your password to enable audio processing for your music box on the server.
Create join and leave commands for a Discord bot to join or leave a voice channel, using the bot’s voice client and connect or disconnect methods.
Develop a Discord bot play command in Python that accepts a song name or YouTube link, downloads the audio with a YouTube download library, and prepares playback in Discord.
This lecture explains a play command that plays and queues music for a Discord bot, using a queue, a voice client, and an after function to auto-play the next track.
Implement a cleanup mechanism in the play command by tracking played songs in a delete list and removing those files from disk using the OS module.
Learn how to set a discord bot's activity status using change presence, configuring a listening activity that displays the current song name as the bot plays music.
Handle large downloads and slow internet by running the download function on a separate thread with asyncio, so the bot can connect to the voice client without blocking.
Create pause, stop, and resume commands for a Discord bot in Python, using a voice client and is_playing checks, with a stop alias as skip and cue command for queue.
Create a deejay role in Discord, and implement a role check to restrict music commands to members who have that role, then test by attempting to join and control playback.
Implement error handling for a Python Discord bot. Build a decorator-based error handler for join, play, pause, stop, resume, and leave, addressing missing role and command invoke errors.
Build a Discord battleships game bot in Python with commands to place ships, shoot, and track hits, culminating in a winner showing boards.
Create an asynchronous render function that builds a 10x10 board using emoji coordinates, turning a two-dimensional array into a display string for a Discord bot, updating ships and hits.
Explore turning the battleships command into a cog class, initialize and render two game boards for each player, handle global versus instance state, and prep for ship placement.
Create a bot command to place ships on a five by five board, parse coordinates, convert letters to indices, update the board with ship emojis, and enforce a six-ship limit.
Create a shoot command for a battleship game in a Discord bot, convert coordinates, determine hits or misses, update boards with emojis, render boards, and declare the winner.
Implement turn-based logic in a Discord bot by tracking the current player and validating who can shoot. Hand the turn to the other player after a miss.
Develop error handling for a Discord battleships bot by validating commands, handling missing arguments and coordinates, and guiding players to start games with clear error messages.
Create and run polls on a Discord server using a bot, specifying duration and options to generate yes/no polls or custom options, track votes, and declare a winner.
Develop a poll command for a Discord bot in Python using a cog, embeds, and emoji options. Create yes/no polls or multi-option polls with reaction-based voting and a countdown.
Learn to implement a countdown timer for Discord polls that updates the poll message every minute and determines a winner from reactions.
Migrate from discord.py to Nextcord using docs, install and uninstall libraries to avoid conflicts, and use VS Code find-and-replace to update code, then test a battleship bot and slash commands.
Learn how to create and use slash commands in Discord bots with Python, including the slash_command decorator, interaction objects, guild scope to speed deployment, and slash options with choices.
In this Course, you will learn how to make useful, practical discord bots for your everyday usage.
What's inside this Course?
Firstly, you're going to learn the syntax of Events and Commands, which are the basics of discord .py
After that, we're going to dive further into more Advanced topics that deepen your understanding of this library, like Tasks, Cogs and Checks
Then, we're going to make 3 useful discord bots:
Music Bot
Battleships Bot
Poll Bot
These are all bots that that you can use in your everyday discord-life
Why this Course? Why choose me as your tutor?
Because I have 7 Years of Experience coding in Python
Because I know how to break down complex matters and explain them in a straightforward and simple way due to my experience teaching various STEM-subjects to students
Because you will create several projects throughout the Course that will teach you step by step how to code a discord bot
Because I grew up speaking English and even though I am not a native speaker, I can confidently say that you will have no problem understanding me because I speak in a fluent, loud and clear way
Because I can offer you assistance whenever you have any trouble or questions regarding my Course
Because this Course teaches you everything there is to learn about the discord .py library - after the Course, you can make any discord bot you want!