Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Last seen #181

Open
Merp-Me opened this issue Apr 18, 2021 · 0 comments
Open

[Bug] Last seen #181

Merp-Me opened this issue Apr 18, 2021 · 0 comments
Assignees

Comments

@Merp-Me
Copy link

Merp-Me commented Apr 18, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants