Fox-V3 icon indicating copy to clipboard operation
Fox-V3 copied to clipboard

[Bug] Last seen

Open Merp-Me opened this issue 3 years ago • 0 comments

Describe the bug Running the command on an online user results in an error To Reproduce

  1. Load cog 'lseen'
  2. Run command 'lseen @online user'
  3. See error

Expected behavior User is currently online/User was last offline

Screenshots or Error Messages

Exception in command 'lseen'
Traceback (most recent call last):
  File "/home/pi/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/pi/.local/share/Red-DiscordBot/data/test/cogs/CogManager/cogs/lseen/lseen.py", line 85, in lseen
    await ctx.send(embed=embed)
  File "/home/pi/redenv/lib/python3.8/site-packages/redbot/core/commands/context.py", line 93, in send
    return await super().send(content=content, **kwargs)
  File "/home/pi/redenv/lib/python3.8/site-packages/discord/abc.py", line 1064, in send
    data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
  File "/home/pi/redenv/lib/python3.8/site-packages/discord/http.py", line 254, in request
    raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embed.description: This field is required

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

Traceback (most recent call last):
  File "/home/pi/redenv/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 939, in invoke
    await ctx.command.invoke(ctx)
  File "/home/pi/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/pi/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embed.description: This field is required

Merp-Me avatar Apr 18 '21 16:04 Merp-Me