Updated max file size to match Discord

This commit is contained in:
Logan G 2024-10-09 19:38:44 -06:00
parent 0356a5c0c7
commit 6bc194865e
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -13,7 +13,7 @@ import (
"mvdan.cc/xurls/v2" // Peak lazy "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. // 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) { func messageCreate(session *discordgo.Session, message *discordgo.MessageCreate) {