SimplerDiscord/index.js
function (name, guild) {
        return guild.channels.filter((item) => item.type === "text").filter((item) => item.name === this.name).join();
    }
function (name, guild) {
        return guild.channels.filter((item) => item.type === "text").filter((item) => item.name === this.name).join();
    }
function ( name , guild ) { return guild . channels . filter ( ( item ) => item . type === "text" ) . filter ( ( item ) => item . name === this . name ) . join ( ) ; }
Gets a mention of a channel
@returns {string} Mention
@param {string} name Name
@param {Guild} guild Guild
Gets a mention of a channel