src/commands/help/help.js
// actually generates an embed_msg in help format
actually generates an embed_msg in help format
actually generates an embed_msg in help format
async create_embed_help_format(msg, title, description, fields = []) {
        const embed_msg = new Discord.MessageEmbed()
            .setColor(msg.client.config.embed.color)
            .setTitle(`${title.toUpperCase()} ${(await gt(msg, s + "command")).toUpperCase()}`)
            .setDescription(description)
            .addFields(fields)
            .setThumbnail(msg.client.config.embed.avatar_url)
        if (msg.client.config.help.send_to_dm && msg.client.helper.from_guild(msg)) {
            embed_msg.addField("\u200B" , msg.client.helper.link_to_message(msg, await gt(msg, s + "back_to_message")))
        }
        return embed_msg
    }
async create_embed_help_format ( msg , title , description , fields = [ ] ) { const embed_msg = new Discord . MessageEmbed ( ) . setColor ( msg . client . config . embed . color ) . setTitle ( ` ${ title . toUpperCase ( ) } ${ ( await gt ( msg , s + "command" ) ) . toUpperCase ( ) } ` ) . setDescription ( description ) . addFields ( fields ) . setThumbnail ( msg . client . config . embed . avatar_url ) if ( msg . client . config . help . send_to_dm && msg . client . helper . from_guild ( msg ) ) { embed_msg . addField ( "\u200B" , msg . client . helper . link_to_message ( msg , await gt ( msg , s + "back_to_message" ) ) ) } return embed_msg }
actually generates an embed_msg in help format
actually generates an embed_msg in help format
// add link connection between dm msg and server msg