Skip to content

Commit 14cec6f

Browse files
committed
Changed -> Change
1 parent 9819aa3 commit 14cec6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webhooks/handlers/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def handle(self, body: WebhookBody, bot: Bot):
2424
return await self._handle_account_deleted(body, bot)
2525
elif body.event == WebhookEvent.ACCOUNT_BANNED:
2626
return await self._handle_account_banned(body, bot)
27-
elif body.event == WebhookEvent.NAME_CHANGED:
27+
elif body.event == WebhookEvent.NAME_CHANGE:
2828
return await self._handle_name_change(body, bot)
2929
else:
3030
raise ValueError(f"Invalid event: {body.event}")

0 commit comments

Comments
 (0)