refactor(cmd): fix spelling mistake
This commit is contained in:
parent
5d76fdc143
commit
1266628d42
1 changed files with 3 additions and 3 deletions
|
|
@ -330,12 +330,12 @@ func (mi *messageInput) searchMember(gID discord.GuildID, name string) {
|
|||
return
|
||||
}
|
||||
}
|
||||
// Rate limit on our side because we can't distinguish between a
|
||||
// successful search and SearchMember not doing anything becuase of its
|
||||
// internal rate limit that we can't detect
|
||||
|
||||
// Rate limit on our side because we can't distinguish between a successful search and SearchMember not doing anything because of its internal rate limit that we can't detect
|
||||
if mi.lastSearch.Add(discordState.MemberState.SearchFrequency).After(time.Now()) {
|
||||
return
|
||||
}
|
||||
|
||||
mi.lastSearch = time.Now()
|
||||
app.messagesList.waitForChunkEvent()
|
||||
app.messagesList.setFetchingChunk(true, 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue