mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
fix: implement valueOf on pseudomanagers (#4595)
This commit is contained in:
@@ -114,6 +114,10 @@ class GuildEmojiRoleManager {
|
||||
_patch(roles) {
|
||||
this.emoji._roles = roles;
|
||||
}
|
||||
|
||||
valueOf() {
|
||||
return this.cache;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = GuildEmojiRoleManager;
|
||||
|
||||
Reference in New Issue
Block a user