{"size": 878, "ext": "js", "max_stars_repo_path": "commands/utility/source.js", "max_stars_repo_name": "myysty/SnipeBot", "max_stars_repo_stars_event_min_datetime": "2021-12-17T03:15:34.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T00:01:43.000Z", "max_issues_repo_path": "commands/utility/source.js", "max_issues_repo_name": "myysty/SnipeBot", "max_issues_repo_issues_event_min_datetime": "2022-01-30T01:55:42.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-30T01:55:42.000Z", "max_forks_repo_path": "commands/utility/source.js", "max_forks_repo_name": "myysty/SnipeBot", "max_forks_repo_forks_event_min_datetime": "2022-01-13T07:48:26.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-27T17:13:52.000Z"}
{"max_stars_count": 4, "max_issues_count": 1, "max_forks_count": 8, "avg_line_length": 29.2666666667, "max_line_length": 106, "alphanum_fraction": 0.5512528474}
const { Client, Message, MessageActionRow, MessageButton } = require('discord.js')
const { emojis } = require('../../config.json')

module.exports = {
    name: 'source',
    aliases: ['src'],

    /**
     * @param {Client} client
     * @param {Message} message
     */

    run: async(client, message) => {
        const row = new MessageActionRow()
        .addComponents(
            new MessageButton()
            .setLabel('Github')
            .setEmoji(emojis.github)
            .setURL('https://github.com/marrrkkk')
            .setStyle('LINK'),

            new MessageButton()
            .setLabel('Repository')
            .setEmoji(emojis.repo)
            .setURL('https://github.com/marrrkkk/SnipeBot')
            .setStyle('LINK')
        )
        await message.channel.send({ content: 'https://github.com/marrrkkk/SnipeBot', components: [row] })
    }
}