fix: implement valueOf on pseudomanagers (#4595)

This commit is contained in:
Souji
2020-12-14 13:52:21 +01:00
committed by GitHub
parent 75e6dfbfd3
commit 8883a0144b
3 changed files with 10 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ class GuildEmojiRoleManager {
_patch(roles) {
this.emoji._roles = roles;
}
valueOf() {
return this.cache;
}
}
module.exports = GuildEmojiRoleManager;