#ctx : discord.context

1 messages · Page 1 of 1 (latest)

knotty remnant
#

i dont find anything in the doc, does discord.context exist

@bot.command()
async def example(ctx: discord.Context):

grand cove
#

discord.Bot or commands.Bot?

#

@knotty remnant ?

knotty remnant
#

but not for the slash command

#

like the ctx.author

#

send

#

etc

grand cove
#

discord.ApplicationContext is the correct type

knotty remnant
#

how can you do for normal command

grand cove
#

that's commands.Context

knotty remnant
grand cove
#

.solved

knotty remnant
#

.solved