{"size": 390, "ext": "js", "max_stars_repo_path": "events/command.js", "max_stars_repo_name": "Derpinou/Tickets", "max_stars_repo_stars_event_min_datetime": "2022-03-18T02:28:36.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-18T02:28:36.000Z", "max_issues_repo_path": "events/command.js", "max_issues_repo_name": "Derpinou/Tickets", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "events/command.js", "max_forks_repo_name": "Derpinou/Tickets", "max_forks_repo_forks_event_min_datetime": "2021-11-07T16:03:44.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-07T16:03:44.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 26.0, "max_line_length": 86, "alphanum_fraction": 0.5717948718}
class event {
    constructor() {
        this.name = "command"
    }
    async execute(interaction, client) {
        if(!client.commands.has(interaction.commandName)) return
        try {
            client.commands.get(interaction.commandName).execute(interaction, client)
        } catch (error) {
            console.error(error)
        }
    }
}

module.exports = event