Create Slash Commands Discord.py (With And Without Cogs) In Less Then 5 Minutes

Create Slash Commands Discord.py (With And Without Cogs) In Less Then 5 Minutes

Neel Banga

2 года назад

7,790 Просмотров

In this video, we are creating slash commands with the discord.py library and the slash commands library. I'll show you how to do this with and without cogs. This isn't too long either it's only 5 minutes!
Slash commands are a great way to elevate your python discord bot to the next level so make sure to watch.

What are slash commands: https://youtu.be/4XxcpBxSCiU
Source Code: https://github.com/Programming-Done-Right/SlashCommands
Don't click this link: https://bit.ly/3nH4VWZ

LINKS:
Discord Server: https://discord.gg/UbWFK4je7B
GitHub: https://github.com/Programming-Done-Right
Contact: [email protected]

⏱️⏱️ TIMESTAMPS ⏱️⏱️
0:00 - Introduction
0:09 - The Settings You NEED For Slash Commands
0:31 - Installing The Slash Commands Library
1:14 - How To Create Slash Commands WITHOUT Cogs
3:07 - How To Create Slash Commands WITH Cogs
4:12 - Only Cool Kids Will Watch This Part

OTHER VIDEOS:

Install Python: https://youtu.be/oeAEXn731Fg​

Other Programming Tutorials: https://www.youtube.com/watch?v=nZzCxFFEufY&list=PL1U-imfSFzUQlhpNiYUSAC5nSHT1O5Gfh

Thank you,
Programming Done Right

Тэги:

#slash_commands #discord #discord_bot #slash_commands_discord #discord_slash_commands #discord.py #slash_commands_discord.py #neel #banga #neelbanga #cogs #discord-py-slash-command #pycharm #programming #done #right #Programming_Done_Right #Create_Slash_Commands_Discord.py_(With_And_Without_Cogs) #Create_Slash_Commands_Discord.py #discord.py_rewrite #Create_Slash_Commands_Discord.py_(With_And_Without_Cogs)_In_5_Minutes #PDR #Python #Python_Discord_Bot #cogs_python_discord #dpy #d.py
Ссылки и html тэги не поддерживаются


Комментарии:

Legowyn24
Legowyn24 - 02.04.2023 20:12

Hello! So I have all the code written down and the last thing I need to do is install the packages, but even though I verified that I have pip installed it still gives me this error:

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.

By the way, this is a great video and you explained everything clearly, good job

Ответить
Terxact My
Terxact My - 07.09.2022 16:56

may i know how to make the commands work only for admin if we use cog_slash?

Ответить
Bor My
Bor My - 09.07.2022 08:06

Hi, i installed the discord-py-slash-command but it says Import "discord_slash" could not be resolved

Ответить
somebody
somebody - 10.06.2022 11:01

Is it from replit or another app

Ответить
thatrandomdev
thatrandomdev - 06.03.2022 07:13

Thanks! I was looking how to add slash commands to cogs

Ответить
Elpma
Elpma - 23.12.2021 19:20

thanks a lot

Ответить
Some dude on YouTube fr fr
Some dude on YouTube fr fr - 24.11.2021 21:07

You are a literal legend!
Finally got it working...
Liked + subscribed, because the quality of your video is insane!

Ответить
Need_Not
Need_Not - 26.10.2021 11:36

this is cool and useful but my concerns are dpy bots still wont be verified because the commands dont have the arguments like other slash commands

Ответить
SouProds
SouProds - 24.10.2021 22:24

tysm man, i was looking for this everywhere!

Ответить
_Cosmos_
_Cosmos_ - 10.10.2021 03:47

do a lego showcase

Ответить
Skoaqua
Skoaqua - 02.10.2021 22:27

Sorry I ruined the 69 likes

Ответить
Simon Jesus believer
Simon Jesus believer - 02.10.2021 17:12

We have a dislike bomber here.

Ответить
街灯
街灯 - 23.09.2021 08:23

this tutorial is simple and easy to understand
nice video and thanks!

Ответить
Mooncake
Mooncake - 09.08.2021 13:36

nice video thank you

Ответить
Nyxical
Nyxical - 05.08.2021 09:53

This helped me with my Roblox API Bot! thanks alot!

Ответить
TheMessifan
TheMessifan - 02.08.2021 05:39

Very poggers. Congratulations you earned a sub!

Ответить
xxploit
xxploit - 16.07.2021 13:20

epik

Ответить
TheXeus
TheXeus - 15.07.2021 15:57

Subbed!

Ответить
Neel Banga
Neel Banga - 10.07.2021 23:50

a like would be very much appreciated!

Ответить
Cherry MX Brown
Cherry MX Brown - 10.07.2021 23:06

this is literally just the docs..

Ответить
Oliver Hill
Oliver Hill - 10.07.2021 01:34

You have sorted out your mic settings fully now, love it

Ответить
Oliver Hill
Oliver Hill - 10.07.2021 01:32

Great video

Ответить
The Phantom Coder
The Phantom Coder - 09.07.2021 23:06

Nice video, one thing I just realized though is that chapters would be helpful in your videos, especially this one (for example, if I only wanted to know how to do it with cogs I'd skip to that chapter)

Ответить
Simon Jesus believer
Simon Jesus believer - 09.07.2021 21:26

Hello :)

Ответить