From 11f483722a991d0842abe55b05e101b4c1580377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A7=81Ash=C3=BB=EA=A7=82?= <30575805+Ashu11-A@users.noreply.github.com> Date: Thu, 13 Jun 2024 23:56:35 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=8D=20Comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/tickets/src/discord/events/leaveVoiceChannel.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/tickets/src/discord/events/leaveVoiceChannel.ts b/plugins/tickets/src/discord/events/leaveVoiceChannel.ts index ad794422..37e5e684 100644 --- a/plugins/tickets/src/discord/events/leaveVoiceChannel.ts +++ b/plugins/tickets/src/discord/events/leaveVoiceChannel.ts @@ -2,6 +2,9 @@ import { guildDB } from "@/functions/database.js" import { TextChannel } from "discord.js" import { Event } from "../base/Event.js" +/** + * Caso a Ășltima pessoa se desconecte do channel voice do ticket: apague-o + */ new Event({ name: 'voiceStateUpdate', async run (oldState, newState) {