src/structures/commands/BaseCommand.js
/**
     * This method will check if there's a lock on the channel
     * @private
     * @param {string} command The command that invoked the request
     */
This method will check if there's a lock on the channel
@private
@param {string} command The command that invoked the request
This method will check if there ' s a lock on the channel @private @param { string } command The command that invoked the request
async _canCommandRunInChannel(command) {
        const isGuild = this.serverMember || this.msgObj.guild;
        if (!this.guild_only && !isGuild) return true;
        if (this.guild_only && !isGuild) {
            const newMsg = await this.msgObj.reply(`The following command \`${command}\` can not be ran outside of servers.`);
            return false;
        }
        return true;
    }
async _canCommandRunInChannel ( command ) { const isGuild = this . serverMember || this . msgObj . guild ; if ( ! this . guild_only && ! isGuild ) return true ; if ( this . guild_only && ! isGuild ) { const newMsg = await this . msgObj . reply ( ` \` ${ command } \` ` ) ; return false ; } return true ; }
This method will check if there's a lock on the channel
 @private
 @param {string} command The command that invoked the request
This method will check if there ' s a lock on the channel @private @param { string } command The command that invoked the request