From e160254e9deaadfbe54a653ac126af928a86bb9b Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com> Date: Thu, 12 Sep 2019 13:40:01 +0200 Subject: 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 --- bot/cogs/superstarify/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ) -- cgit v1.2.3