Skip to content

Fix webhooks for users with no avatars #530

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

Merged
merged 3 commits into from
Jan 4, 2020

Conversation

Throne3d
Copy link
Collaborator

@Throne3d Throne3d commented Jan 4, 2020

Fixes #529. Also copies out some repetitive parts of tests into beforeEach hooks, and fixes the test inconsistencies around this.bot vs a const bot defined in the test (to use custom configs).

Some tests were subtly testing broken behavior,
as this.addUser was not correctly adding a user
to the given bot's guild.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 97.135% when pulling f13d433 on Throne3d:fix/webhook-avatarless-user into 88fecf3 on reactiflux:master.

@Throne3d Throne3d merged commit 4fe1483 into reactiflux:master Jan 4, 2020
@Throne3d Throne3d deleted the fix/webhook-avatarless-user branch January 4, 2020 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webhook does not work if user has no avatar
2 participants