<commit_before>class OwnerPlugin {
    constructor() {
        this.ownerName = "<NAME>";  //Insert Name so that users that do [p]owner will know who the owner of the bot is
        this.owner = "Insert ID";  //Insert ID so that only you can run these commands
    }

    default (command) {
        console.log(command);
        var self = this;
        self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 3447003,
            author: {},
            fields: [{
                name: "Owner",
                inline: false,
                value: this.ownerName + "\n" + this.owner,
            }],
            footer: {}
        });
    }
    commandRestart(command) {
        console.log(command);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SendMessage(command.msg.channel, "I am restarting");
            self.disnode.Restart();
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
                value: "**You're not my Owner**",
            }],
            footer: {}
        });
    }
    commandShutdown(command) {
        console.log(command);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SendMessage(command.msg.channel, "Shutting down");
            this.disnode.bot.client.disconnect();
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
                value: "**You're not my Owner**",
            }],
            footer: {}
        });
    }
    commandStatus(command) {
        console.log(command);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SetStatus(command.params[0]);
            self.disnode.bot.SendMessage(command.msg.channel, "Status Set To - **Playing " + command.params[0] + "**");
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
                value: "**You're not my Owner**",
            }],
            footer: {}
        });
    }
    commandUsername(command) {
        console.log(command.params);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SetUsername(command.params[0]);
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,<commit_msg>Response from Username set<commit_after>class OwnerPlugin {
    constructor() {
        this.ownerName = "<NAME>";  //Insert Name so that users that do [p]owner will know who the owner of the bot is
        this.owner = "Insert ID";  //Insert ID so that only you can run these commands
    }

    default (command) {
        console.log(command);
        var self = this;
        self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 3447003,
            author: {},
            fields: [{
                name: "Owner",
                inline: false,
                value: this.ownerName + "\n" + this.owner,
            }],
            footer: {}
        });
    }
    commandRestart(command) {
        console.log(command);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SendMessage(command.msg.channel, "I am restarting");
            self.disnode.Restart();
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
                value: "**You're not my Owner**",
            }],
            footer: {}
        });
    }
    commandShutdown(command) {
        console.log(command);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SendMessage(command.msg.channel, "Shutting down");
            this.disnode.bot.client.disconnect();
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
                value: "**You're not my Owner**",
            }],
            footer: {}
        });
    }
    commandStatus(command) {
        console.log(command);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SetStatus(command.params[0]);
            self.disnode.bot.SendMessage(command.msg.channel, "Status Set To - **Playing " + command.params[0] + "**");
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
                value: "**You're not my Owner**",
            }],
            footer: {}
        });
    }
    commandUsername(command) {
        console.log(command.params);
        var self = this;
        if (command.msg.userID == this.owner) {
            self.disnode.bot.SetUsername(command.params[0]);
            self.disnode.bot.SendMessage(command.msg.channel, "Username set to - **" + command.params[0] + "**");
        } else self.disnode.bot.SendEmbed(command.msg.channel, {
            color: 15158332,
            author: {},
            fields: [{
                name: "Stop",
                inline: false,
{'fraction_non_alphanumeric': 0.1334140854819173, 'fraction_numerical': 0.014708427063505797, 'mean_word_length': 1.4989191526156507, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6400667', 'n_tokens_mistral': 1712, 'n_tokens_neox': 1596, 'n_words': 331}