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:
parent
75d6be7a9d
commit
f4860731fe
|
@ -27,6 +27,7 @@ func NewMessage(maxMsgs int) *Message {
|
|||
messages: []discord.Message{}, // never use a nil slice
|
||||
}
|
||||
}),
|
||||
maxMsgs: maxMsgs,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue