diff options
| author | 2019-09-12 13:40:01 +0200 | |
|---|---|---|
| committer | 2019-09-12 13:40:01 +0200 | |
| commit | e160254e9deaadfbe54a653ac126af928a86bb9b (patch) | |
| tree | e5a6a1022a4edaa1a2a6ed3340cefd2d2fbf278b | |
| parent | Fixed AntiSpam cog reload bug (diff) | |
Fixed incorrect API request field in superstarify
https://github.com/python-discord/bot/issues/409
The superstarify cog specified an incorrect infraction type
in the API request in the on_member_join event listener. I've
fixed it by giving it the correct infraction type, 'superstar'.
closes #409
| -rw-r--r-- | bot/cogs/superstarify/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/superstarify/__init__.py b/bot/cogs/superstarify/__init__.py index 4b26f3f40..cccd91304 100644 --- a/bot/cogs/superstarify/__init__.py +++ b/bot/cogs/superstarify/__init__.py @@ -103,7 +103,7 @@ class Superstarify: 'bot/infractions', params={ 'active': 'true', - 'type': 'superstarify', + 'type': 'superstar', 'user__id': member.id } ) |