There was an error while loading. Please reload this page.
2 parents 935f310 + 14cec6f commit 6993353Copy full SHA for 6993353
1 file changed
src/webhooks/handlers/account.py
@@ -24,6 +24,8 @@ 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_CHANGE:
28
+ return await self._handle_name_change(body, bot)
29
else:
30
raise ValueError(f"Invalid event: {body.event}")
31
0 commit comments