Discord.js: BaseManager

Created on 16 Feb 2020  路  4Comments  路  Source: discordjs/discord.js

Not sure if I've completely glossed over the need for the BaseManager as it just seems to interact with the collection anyways but why not make BaseManager extend Collection.

This means you get best of both worlds and a majority of code doesn't have to have .cache added to use any of the utilities.

enhancement

All 4 comments

It still seems like an unnecessary step but I guess I'll see what comes out of that

Actually reading the issue and understanding the underlying problem is important to see why its necessary.

I'm 99% sure I closed this issue, not 100% though, you're making me doubt myself crawl.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alipoodle picture Alipoodle  路  3Comments

Lombra picture Lombra  路  3Comments

PassTheMayo picture PassTheMayo  路  3Comments

smchase picture smchase  路  3Comments

LLamaFTL picture LLamaFTL  路  3Comments