mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor(Managers): rename add to _add (#6060)
This commit is contained in:
@@ -24,7 +24,7 @@ class VoiceStateManager extends CachedManager {
|
||||
* @name VoiceStateManager#cache
|
||||
*/
|
||||
|
||||
add(data, cache = true) {
|
||||
_add(data, cache = true) {
|
||||
const existing = this.cache.get(data.user_id);
|
||||
if (existing) return existing._patch(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user