How to Create Slash Commands? Discord.py Tutorial

Опубликовано: 20 Март 2026
на канале: Comment Coder
4,025
78

How to code slash commands? Discord Bot Tutorial in Python Part 6 - discord.py. Slash commands integrate better with Discord but are different from prefix commands. In this video, learn how to create slash commands for your Discord server with a Python bot (discord.py)!

⏭️ The rest of the tutorial (Part 6):    • Comment créer des Commandes Hybrides avec ...  

🔥 The full tutorial playlist:    • 🤖 Bot Discord Python  

🐍 New to Python? Check out my complete beginner's courses 👉    • Apprendre Python en 1 heure - Cours Comple...  

🔔 Subscribe for more Python videos:    / @commentcoder  

🔗 Useful links:
The discord.py website: https://discordpy.readthedocs.io/en/s...
discord.ext: https://discordpy.readthedocs.io/en/s...
Commands (API Reference): https://discordpy.readthedocs.io/en/s...
The project code: https://github.com/how-to-code/learn-...

⏱️ Table of Contents:
00:00 - Introduction
01:09 - First slash command
05:42 - followup - Multiple replies
08:27 - defer - Slow response