1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-11-26 06:07:16 +00:00

State: Fixed voice states store being nil

This commit is contained in:
diamondburned (Forefront) 2020-04-21 15:31:46 -07:00
parent 5c85e4aa64
commit 5acfe9c981

View file

@ -61,6 +61,7 @@ func (s *DefaultStore) Reset() error {
s.members = map[discord.Snowflake][]discord.Member{}
s.presences = map[discord.Snowflake][]discord.Presence{}
s.messages = map[discord.Snowflake][]discord.Message{}
s.voiceStates = map[discord.Snowflake][]discord.VoiceState{}
return nil
}