#Using ctx.defer() and then using ctx.send_followup() with bridge

1 messages · Page 1 of 1 (latest)

steel socket
#
Ignoring exception in command value:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/core.py", line 184, in wrapped
    ret = await coro(*args, **kwargs)
  File "main.py", line 211, in value
    await ctx.send_followup(embed=embed)
AttributeError: 'BridgeExtContext' object has no attribute 'send_followup'

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/bot.py", line 344, in invoke
    await ctx.command.invoke(ctx)
  File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/core.py", line 951, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/core.py", line 193, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'BridgeExtContext' object has no attribute 'send_followup'

worked fine with normal slash commands (still works when doing the slash command) but when i do !command it comes up with the following error ^

dense forum
#

...i didn't even know it existed, but send_followup is a shortcut for ctx.followup.send