We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9819aa3 commit 14cec6fCopy full SHA for 14cec6f
1 file changed
src/webhooks/handlers/account.py
@@ -24,7 +24,7 @@ async def handle(self, body: WebhookBody, bot: Bot):
24
return await self._handle_account_deleted(body, bot)
25
elif body.event == WebhookEvent.ACCOUNT_BANNED:
26
return await self._handle_account_banned(body, bot)
27
- elif body.event == WebhookEvent.NAME_CHANGED:
+ elif body.event == WebhookEvent.NAME_CHANGE:
28
return await self._handle_name_change(body, bot)
29
else:
30
raise ValueError(f"Invalid event: {body.event}")
0 commit comments