usercache: rename methods

"Update" better expresses what is being done to the cache.
This commit is contained in:
Skip R
2026-02-06 17:44:37 -08:00
parent 1fcc910184
commit 2310d2c036
4 changed files with 12 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ func (cl *DiscordClient) connect(ctx context.Context) error {
// Populate the user cache with the users from the READY payload.
log.Debug().Int("n_users", len(cl.Session.State.Ready.Users)).Msg("Inserting users from READY into cache")
cl.userCache.HandleReady(&cl.Session.State.Ready)
cl.userCache.UpdateWithReady(&cl.Session.State.Ready)
cl.BeginSyncing(ctx)