Custom Help Commands [#2] Select Menus - Python Discord Bot

  Рет қаралды 13,040

Jonah Lawrence • Dev Pro Tips

Jonah Lawrence • Dev Pro Tips

Күн бұрын

How to create a custom Discord bot embed help command with Select Menus in Python with discord.py, nextcord, or similar forks
❤ Subscribe: bit.ly/SubscribeDPT
In this video, I will be using the Nextcord fork of Discord.py to show you how to add Select Menus to a custom help command made by subclassing the built-in HelpCommand class. Check out part 1 to see how the original custom Help Command was made:
Part 1 - Select Menu Help Commands
• Custom Help Commands [...
This is the second video in a series of videos on custom help commands. In upcoming videos I will show you how to use nextcord-ext-menus to add Button pagination.
Part 3 - Button Pagination Help Commands
Coming soon...
👨‍💻 Source Code
github.com/DenverCoder1/Tutor...
💬 Dev Pro Tips Discussion & Support Server
/ discord
📜 Nextcord Documentation
nextcord.readthedocs.io/en/la...
🗨 Nextcord Server
/ discord
📓 Python Discord Bot Template
github.com/DenverCoder1/disco...
📺 In this video:
0:00​ - Introduction
0:47 - Creating the Help View
3:32 - Interaction Check
5:07 - Dropdown callback
7:45 - Generate Select Options
11:07 - Adding Home Option
14:08 - Adding Emojis to Cogs
16:02 - Adding Emojis in the Embeds
17:50 - Remove Menu on Timeout
19:00 - Conclusion
Make sure to subscribe so you don't miss anything!
🐍 More Discord Bot Tutorials
• Building Discord Bots ...
💻 More tutorials
• Tutorials
🙋‍♂️ Find me on other channels
Discord 🗨️ bit.ly/dpt-discord
Twitter ✍ / denvercoder1
Github 👨‍💻 github.com/DenverCoder1
Sponsor 💞 github.com/sponsors/DenverCoder1
Buy me a coffee ☕ ko-fi.com/jlawrence
💖 SPONSORS 💖
Get your username or a link to your channel here by sponsoring on GitHub
▶ github.com/sponsors/DenverCod...
🎁 GET FREE STUFF WHILE SUPPORTING MY TUTORIALS
► bit.ly/jlawrencepromos

Пікірлер: 19
@DevProTips
@DevProTips 2 жыл бұрын
💖 Let me know if you have any questions! 💬 Discord - discord.gg/fPrdqh3Zfu 👍 Thanks for watching! Don't forget to like and subscribe! ❗Note: If you have commands in no cog, the "No Category" option has an issue since cog_help_embed() assumes the cog is not None. To fix this, you can instead set the title to "No Category" and command_set to self.get_bot_mapping()[None] when cog is None. See the code for the fix here: github.com/DenverCoder1/Tutorial-Discord-Bot/commit/9603ec091918a73757f8ec1a5225ca8d6c69c18a
@jaybat2553
@jaybat2553 2 жыл бұрын
Thanks I've waited for this 😅
@eclipsaranger9680
@eclipsaranger9680 Жыл бұрын
I am subscribing you sir, You are a legend. this is the best video on the topic, thank you
@techpluscraft2499
@techpluscraft2499 2 жыл бұрын
Nice!!!
@natan0075
@natan0075 Жыл бұрын
Hey man! Great work on this tutorial, easily one of the best and most informative I've seen on KZfaq! Any plans on continuing the series and making the 3rd part with the buttons?
@DevProTips
@DevProTips Жыл бұрын
I don't have much time to make videos, but there is example code I wrote in the nextcord-ext-menus repo, and you can also do it with one line using github.com/nextcord/nextcord-ext-help-commands (see Basic Usage in the readme or docs)
@bigmacp99
@bigmacp99 2 жыл бұрын
Such a good video! I do have one question, I implemented some slash commands and now they aren't showing up in the help message. How can I fix this?
@driccv
@driccv Жыл бұрын
Hey! I have a question. For the part where you put timeout: Optional[float], it said optional was not defined. How do I fix that? Edit: Nevermind! I found that I was supposed to import it.
@user-zr8pm2eg2i
@user-zr8pm2eg2i 2 жыл бұрын
Good afternoon because you removed the video from the plugin for symbolab, it no longer works
@AmazedAkai
@AmazedAkai 2 жыл бұрын
Video on pagination pls
@yP0W3RTeam
@yP0W3RTeam 2 жыл бұрын
Hey Dude, How can I make my commands appear in the / menu of commands in discord?
@DevProTips
@DevProTips 2 жыл бұрын
You need to register them as slash commands. It is a new Discord feature. I plan to make a video on it when nextcord releases a stable version. But for now, you can use the discord-interactions extension (github.com/goverfl0w/discord-interactions/ ), the nextcord slash branch in development, or another fork's implementation.
@virusyrel771
@virusyrel771 2 жыл бұрын
@@DevProTips does this help command support slash cmd
@leksmar
@leksmar 2 жыл бұрын
When will be new video?
@orangegamer
@orangegamer 2 жыл бұрын
Hey, could u do a paginated button help too ?
@DevProTips
@DevProTips 2 жыл бұрын
That's what I was planning to do for the next tutorial. I'm not sure how soon I'll be able to though. I've written code for it already which you can find in the nextcord-ext-menus examples folder on GitHub or the code for my server's Discord bot.
@orangegamer
@orangegamer 2 жыл бұрын
@@DevProTips Thanks man! For ur promt response, will check them out :D
@HTWwpzIuqaObMt
@HTWwpzIuqaObMt 2 жыл бұрын
Wow... spoon feed
Making a Wordle Clone Discord Bot with Python (Nextcord)
35:15
Jonah Lawrence • Dev Pro Tips
Рет қаралды 6 М.
Custom Help Commands [#1] Embeds - Python Discord Bot
20:45
Jonah Lawrence • Dev Pro Tips
Рет қаралды 11 М.
🤔Какой Орган самый длинный ? #shorts
00:42
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 36 МЛН
Code a Discord Bot with Python - Host for Free in the Cloud
1:08:28
freeCodeCamp.org
Рет қаралды 2,3 МЛН
TESTING MY NEW MODS! (Discord Trolling)
16:12
SoundDrout
Рет қаралды 1,8 МЛН
Python Discord Bot Select Menu Tutorial (in depth)
17:10
idgnfs
Рет қаралды 11 М.
Migrating Discord Bots from Discord.py to Nextcord
7:06
Jonah Lawrence • Dev Pro Tips
Рет қаралды 7 М.
Code Your Own Discord Bot - Advanced Command Handler (2021)
10:12
Assigning Roles with Buttons - Python Discord Bot Tutorial
14:33
Jonah Lawrence • Dev Pro Tips
Рет қаралды 20 М.
28 июля 2024 г.
0:20
TULPAR_KG🇰🇬
Рет қаралды 3,3 МЛН