src/Utility/Discord/Collectors/MessageCollector.js
/**
     * Function bound to messageDelete event.
     * Remove the message from all collectors that collected this message
     *
     * @param {Message} msg
     * @memberof MessageCollector
     */
Function bound to messageDelete event.
Remove the message from all collectors that collected this message

@param {Message} msg
@memberof MessageCollector
Function bound to messageDelete event . Remove the message from all collectors that collected this message @param { Message } msg @memberof MessageCollector
_onMessageDelete(msg) {
        const collectors = this.getCollectors(msg);
        for (const c of collectors) {
            if (c.collected.has(msg.id) ) {
                c.collected.delete(msg.id);
            }
        }
    }
_onMessageDelete ( msg ) { const collectors = this . getCollectors ( msg ) ; for ( const c of collectors ) { if ( c . collected . has ( msg . id ) ) { c . collected . delete ( msg . id ) ; } } }
Function bound to messageDelete event.
Function bound to messageDelete event .