Code Ban/Kick Slash Commands | Moderation Bot Ep. 2 | Pycord

Опубликовано: 07 Август 2026
на канале: Digiwind
4,211
40

In this video, we code ban and kick slash commands in Python with Pycord, a fork of Discord.py that supports slash commands. This is the second video in our Discord Moderation Bot series (first video was about making mute/timeout slash commands). If you found this video helpful, please consider subscribing and liking the video! If you have any questions, feel free to comment below or join our Discord server (discord.gg/M6eFU3HrUn). More videos about Pycord and Discord bots are below!

Get started with Discord Slash Commands in Python (Pycord):    • Make Discord Slash Commands with Python | ...  

More Pycord Videos:    • Pycord (Discord Bots)  

Moderation Bot Series:    • Moderation Bot with Slash Commands  

Code used in this video: https://github.com/Digiwind/Digiwind-...

Discord Developer Portal:   / discord  
Pycord Kick Documentation: https://docs.pycord.dev/en/master/api...
Pycord Ban Documentation: https://docs.pycord.dev/en/master/api...

Pycord:
Pycord Documentation: https://docs.pycord.dev/en/master/
Pycord Discord:   / discord  
Pycord Github: https://github.com/Pycord-Development...
Install Pycord: pip install py-cord

My socials:
Discord Server:   / discord  
Twitter (@Digiwind_YT):   / digiwind_yt  
Reddit (u/digiwind_yt):   / digiwind_yt  
Github (Digiwind): https://github.com/Digiwind

Music used in this video:
Tibeauthetraveler ft. reysi - Honestly
Provided by Lofi Records
Watch:    • Video  
Download/Stream: https://fanlink.to/LeavingThisPlace

Chapters:
0:00-0:34 Intro
0:34-01:14 Setup Your Bot in the Discord Developer Portal
01:14-02:03 Code Montage
02:03-04:28 Explaining the Code
04:28-05:12 Testing the Bot
05:12-05:39 Outro

#Pycord #Discordpy #Digiwind #BanCommand #KickCommand #SlashCommands #ModerationBot