(Discord.py) How To Easily Add Slash Commands

(Discord.py) How To Easily Add Slash Commands

Civo

2 года назад

25,033 Просмотров

Ссылки и html тэги не поддерживаются


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

@caiden43
@caiden43 - 26.09.2023 02:05

doesn't work. it says the slash command import doesn't exist.

Ответить
@averyu21
@averyu21 - 28.01.2023 09:01

No module named 'discord_slash'

Ответить
@ItsZenTime
@ItsZenTime - 09.10.2022 03:22

Missing intents

Ответить
@terxactmy7978
@terxactmy7978 - 05.09.2022 16:56

i know i'm late to be here, but may i know how to make the slash/command only for the person who has role example "admin", please? btw Thank you for the Tutorial!

Ответить
@DaniloAntunesLeal
@DaniloAntunesLeal - 20.08.2022 07:46

Thanks!!

Ответить
@solodev4118
@solodev4118 - 20.07.2022 14:46

"discord_slash.error.DuplicateSlashClient: You can't have duplicate SlashCommand instances! " can someone help me

Ответить
@kingananas2.0
@kingananas2.0 - 11.07.2022 09:39

i cant import discord_slash but installed it

Ответить
@furyzenblade3558
@furyzenblade3558 - 30.05.2022 01:17

From this code part:
from discord_slash import SlashCommands

I'm just getting an error:
Import "discord_slash" could not be resolved

has anyone already solved this problem?
Already tried the install by doing
pip install -U discord-py-slash-command
didn't work :<

Ответить
@stro3277
@stro3277 - 06.05.2022 11:08

Anybody else encounter this issue or only me?
ImportError: cannot import name 'InvalidArgument' from 'discord'

Ответить
@RETRO12
@RETRO12 - 24.04.2022 02:48

I followed everything 100% and I get interaction failed

Ответить
@aaditjohn6903
@aaditjohn6903 - 17.04.2022 10:14

hello, when i try using the normal install and pip install -U command and ru the bot, it fails to load. May i know what happened and how to fix this?

Ответить
@theminorspectre8756
@theminorspectre8756 - 09.03.2022 13:09

Hello,this was a great tutorial to follow.However,i would like the bot to mention users but i dont know how to do so
could u help me?

Ответить
@proulx7541
@proulx7541 - 14.02.2022 21:44

what about github?

Ответить
@__________________________-_
@__________________________-_ - 04.02.2022 17:07

First tutorial that actually worked for me :')

Ответить
@nintendofanfakept5555
@nintendofanfakept5555 - 14.01.2022 13:42

Why doesn't my command work? command:
@slash.slash(name="ping", description="See Bot's Ping")
async def ping(ctx):
await ctx.send("PONG!")

Ответить
@dcdfm18bf18
@dcdfm18bf18 - 29.12.2021 18:05

I am doing exactly that, but when I run it says integration failed

Ответить
@zitronensaft8618
@zitronensaft8618 - 28.12.2021 16:13

Why does pip install discord-py-slash-command and pip install -U discord-py-slash-command doesn't work? It worked last week on my windows pc but it doesn't work on my raspberry pi

Ответить
@y5lw
@y5lw - 22.11.2021 09:35

Anyway you can make the slash command an embed?

Ответить
@jodene6352
@jodene6352 - 05.11.2021 23:14

can you show how to do this in a cog? (or is it the same process?)

Ответить
@SeaOfTorment
@SeaOfTorment - 28.10.2021 06:47

Hello! Thank you for making this video, it's easy to follow and straight forward. Though I'm having an issue, I followed this video step-by-step and whenever I use a slash command my bot replies with a red colored text: This interaction failed. Could you give me insight on what I may be doing wrong? If you'd like me to share some code snippets I can!

Ответить
@SharkMako
@SharkMako - 11.10.2021 00:59

Second to be First!

Ответить
@boa1674
@boa1674 - 11.10.2021 00:54

First

Ответить