aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-15 18:17:12 +0200
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-15 18:17:12 +0200
commit7d4e050c3f709dc192c1aef66b26221436a0e7f5 (patch)
tree770a7ed878e2d5cb47aa8b0085870ccc5ea7630b /main.go
parent3eab56e3682013510bc0c13963fdd4791f249318 (diff)
feat(event): remove copaing on leave
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index d6a97f9..4cd19fa 100644
--- a/main.go
+++ b/main.go
@@ -117,4 +117,5 @@ func main() {
func afterInit(dg *discordgo.Session) {
dg.AddHandler(xp.OnMessage)
dg.AddHandler(xp.OnVoiceUpdate)
+ dg.AddHandler(xp.OnLeave)
}