1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 09:12:53 +00:00

State: Fixed defaultstore.Message oob crash

This commit is contained in:
diamondburned 2020-11-29 18:21:33 -08:00
parent 75d6be7a9d
commit f4860731fe

View file

@ -27,6 +27,7 @@ func NewMessage(maxMsgs int) *Message {
messages: []discord.Message{}, // never use a nil slice
}
}),
maxMsgs: maxMsgs,
}
}