In this video, we make Discord slash commands with Python. In this video, we use Pycord, a maintained fork of Discord.py. If you found this helpful, please consider liking the video and subscribing. If you have any questions, comments, or ideas for me, please comment down below! I'll try to get to every comment as soon as I can. Here's some written information:
More Discord bot related videos: [ Ссылка ]
UPDATE: Discord.py is resuming development again. More info here: [ Ссылка ]
Discord.py:
Discord.py will stop being maintained in April 2022.
Read more here: [ Ссылка ]
Pycord:
Since Discord.py is no longer being maintained, I've decided to switch from Discord.py to Pycord, in order to begin developing slash commands (since Discord wants all bots over 100 servers to switch to slash commands by April 2022).
Pycord Documentation: [ Ссылка ]
Pycord Discord: [ Ссылка ]
Pycord Github: [ Ссылка ]
Install Pycord (the way I installed it in this video, using git): git clone [ Ссылка ]
If you're reading this, comment "slash commands ftw"
My socials:
Discord Server: [ Ссылка ]
Twitter (@Digiwind_YT): [ Ссылка ]
Reddit (u/digiwind_yt): [ Ссылка ]
Github (Digiwind): [ Ссылка ]
Text to Emoji Bot Invite: [ Ссылка ]
Some info about slash commands: it can take up to 24 hours for your slash commands to be applied globally (in all servers that your bot is in). You can define server_ids equal to the server IDs that your bot is in (or the servers you want that specific slash command to work in), and your slash command will be applied instantaneously. Your slash command name cannot have any spaces and must be all lowercased. You can have capitalization and punctuation in your description. If you have any questions (that aren't covered here) about slash commands, feel free to comment below or join the Pycord Discord (above) and ask your question. If you comment, I'll try to get back to you within a day or two.
Chapters:
0:00-0:10 Intro
0:10-0:57 Creating and Inviting a Bot
0:57-01:30 Installing Pycord
01:30-01:46 Coding the Bot
01:46-03:03 Code Explanation
03:03-03:35 Getting Token and Channel ID
03:35-04:11 Starting the Bot and a PSA About Tokens
04:11-04:20 Testing the Bot
04:20-04:46 Another Bot with Slash Commands
04:46-4:59 Outro
#SlashCommands #Pycord #Discord #Discordpy #Digiwind #wind576 #DiscordBots #discordslashcommands
Make Discord Slash Commands with Python | Pycord
Теги
digiwinddigiwind discorddiscord botdiscord pydiscord py slash commands cogsdiscord slashdiscord slash commandsdiscord slash commands apidiscord slash commands botdiscord slash pythondiscord.py tutorialdiscordpydiscordpy slash commandshow to make a discord botpycordpycord vs nextcordpython discord botslash commandsslash commands discordslash commands discord pyslash commands discord.pyslash commands permissionsslash commands tutorial