From 6bc194865e9a2bf4fd73079f8b1b54c698e6efed Mon Sep 17 00:00:00 2001 From: Logan G Date: Wed, 9 Oct 2024 19:38:44 -0600 Subject: [PATCH] Updated max file size to match Discord --- messageCreate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messageCreate.go b/messageCreate.go index 83f8852..0ecceda 100644 --- a/messageCreate.go +++ b/messageCreate.go @@ -13,7 +13,7 @@ import ( "mvdan.cc/xurls/v2" // Peak lazy ) -const MaxSize = 25*1024*1024 +const MaxSize = 10*1024*1024 // This function will be called every time a new message is created on any channel that the authenticated bot has access to. func messageCreate(session *discordgo.Session, message *discordgo.MessageCreate) {