#Help - I cannot use button in slash command

1 messages · Page 1 of 1 (latest)

azure sundial
#

Please Help

#
Ignoring exception in command vorschlag:
Traceback (most recent call last):
  File "C:\Users\StoeKrafter\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\commands\core.py", line 124, in wrapped
    ret = await coro(arg)
  File "C:\Users\StoeKrafter\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\commands\core.py", line 974, in _invoke
    await self.callback(ctx, **kwargs)
  File "C:\Users\Nutzer\Desktop\Luca\Coodingsucht\main.py", line 77, in _vorschlag
    await ctx.respond(
  File "C:\Users\StoeKrafter\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\commands\context.py", line 282, in respond
    return await self.interaction.response.send_message(
TypeError: send_message() got an unexpected keyword argument 'components'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\StoeKrafter\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\bot.py", line 1088, in invoke_application_command
    await ctx.command.invoke(ctx)
  File "C:\Users\StoeKrafter\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\commands\core.py", line 374, in invoke
    await injected(ctx)
  File "C:\Users\StoeKrafter\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\commands\core.py", line 132, in wrapped
    raise ApplicationCommandInvokeError(exc) from exc
discord.errors.ApplicationCommandInvokeError: Application Command raised an exception: TypeError: send_message() got an unexpected keyword argument 'components'
brazen terrace
azure sundial
#

ah ok thank you

#

but how i can use a link button @brazen terrace

brazen terrace
azure sundial
#

yes i see but there is no example how make a link button

brazen terrace
azure sundial
#

all right thank you

cursive zephyr
#

I already did a URL attribute.

brazen terrace