mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-19 13:22:54 +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
|
messages: []discord.Message{}, // never use a nil slice
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
maxMsgs: maxMsgs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue