Updated max file size to match Discord
This commit is contained in:
parent
0356a5c0c7
commit
6bc194865e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue