src/structures/commands/BaseCommand.js
/**
     * Used when a command was triggered through mention instead of a prefix.
     * This method will remove the bot's mention from the list of mentions if the bot was only mentioned once
     * this is done to prevent commands from getting "mention" interference.
     * @private
     */
Used when a command was triggered through mention instead of a prefix.
This method will remove the bot's mention from the list of mentions if the bot was only mentioned once
this is done to prevent commands from getting "mention" interference.
@private
Used when a command was triggered through mention instead of a prefix . This method will remove the bot ' s mention from the list of mentions if the bot was only mentioned once this is done to prevent commands from getting " mention " interference . @private
_removeBotMention() {
        if ((this.msgObj.content.match(new RegExp(`<@!?(${this._m.user.id})>`, 'g')) || []).length == 1) {
            this.msgObj.mentions.users.delete(this._m.user.id);
        }
    }
_removeBotMention ( ) { if ( ( this . msgObj . content . match ( new RegExp ( ` ${ this . _m . user . id } ` , 'g' ) ) || [ ] ) . length == 1 ) { this . msgObj . mentions . users . delete ( this . _m . user . id ) ; } }
Used when a command was triggered through mention instead of a prefix.
Used when a command was triggered through mention instead of a prefix .