#Slash Commands

1 messages · Page 1 of 1 (latest)

obsidian mauve
mighty pier
mighty pier
fickle bough
# mighty pier theres no error meassage

Ok so ur issue is the fact that ur creating a prefixed command group, not a slash command group which is why it doesn't show up and there's no error message

fickle bough
obsidian mauve
mighty pier
#

Can someone help my slash commands does not work

import discord
from discord.ext import commands

client = commands.Bot(debug_guilds = [895385388829540472])
client.remove_command("help")

@client.event
async def on_ready():
    print("Bot started")


@client.group(invoke_without_command = True, description = "Shows the available commands.")
async def help(ctx, user):
    em = discord.Embed(title = "Help", description = "For more info: /help <command>", color = discord.Color.from_rgb(23, 16, 23))

    em.add_field(name = "Fun", value = f"`commands` ")
    
    await ctx.send(embed = em)
    return

client.run(token)
cursive zenith
#

Hello! So firstly, I see something at "async def help(ctx, user)"

#

or wait

#

what's your error?