mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
14 lines
405 B
TypeScript
14 lines
405 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import type {GatewayHandlerContext} from '@app/features/gateway/events/EventRouter';
|
|
import Invites from '@app/features/invite/state/Invites';
|
|
|
|
interface InviteDeletePayload {
|
|
code: string;
|
|
guild_id: string;
|
|
}
|
|
|
|
export function handleInviteDelete(data: InviteDeletePayload, _context: GatewayHandlerContext): void {
|
|
Invites.handleInviteDelete(data.code);
|
|
}
|