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] Sometimes the bot does not display correctly the avatar of the user in an embed #27

Open
ItsShunya opened this issue Dec 11, 2020 · 1 comment
Assignees
Labels
BUG Something isn't working

Comments

@ItsShunya
Copy link
Owner

Subject of the issue

In the welcoming messages, the bot sets the thumbnail picture of the embed to the avatar of the user who joined. Sometimes this avatar is not displayed correctly, displaying only a loading screen.

Your environment

• ID: 737219824987406367
• Shuwy version: 0.2.4
• Discord.py version: 1.5.1
• Python version: 3.7.5

Steps to reproduce

Let a member join to a server that has configured the welcome message on member join and add an embed message. Most of the time it will be right, but it will display a loading image some times.

Expected behaviour

The thumbnail picture should be the avatar picture of the user.

Actual behaviour

Sometimes a loading picture gets displayed.

image

@ItsShunya ItsShunya self-assigned this Dec 11, 2020
@ItsShunya ItsShunya added the BUG Something isn't working label Dec 11, 2020
@ItsShunya
Copy link
Owner Author

This seems to be a Discord issue related to not being able to retrieve the avatar of the user in cache, similar to #26.
Will look into it, but most likely we should stop using the user's avatar to use a static picture there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant