{"size": 1233, "ext": "js", "max_stars_repo_path": "src/commands/donate.js", "max_stars_repo_name": "ZekoTheFox/this-and-that", "max_stars_repo_stars_event_min_datetime": "2021-05-12T00:41:10.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-12T00:41:10.000Z", "max_issues_repo_path": "src/commands/donate.js", "max_issues_repo_name": "ZekoTheFox/this-and-that", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/commands/donate.js", "max_forks_repo_name": "ZekoTheFox/this-and-that", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 42.5172413793, "max_line_length": 194, "alphanum_fraction": 0.6293592863}
const botConfig = require('../../config.json');
const libCommand = require('../command.js');
// Constants
const { MessageEmbed } = require('discord.js');
const { createEmbedSuccess } = require('../util/embed');

module.exports = class DonateCommand extends libCommand.Command {
    constructor() {
        super();
        // Meta Command Information
        this.internalCommandEnabled = true;
        // Help Information
        this.helpInfo = {
            title: 'Donate',
            description: 'Shows information on how to donate to this bot\'s owner, and how you can help fund its development.',
            syntax: 'donate',
            example: 'donate'
        }
    }

    run(message, client) {
        message.channel.send(createEmbedSuccess(
            'Thank you for taking notice for donating to this bot.'
            + '\n\nYou can donate via my PayPal, which you can find [here](https://paypal.me/Foxyrina)!'
            + '\n\nDonating helps me fund this service and covers server costs as well as API requests for running this bot, and helps motivate me to continuiously improve the user experience.',
            'Donate',
            'Thanks in advance if you do donate. I really appreciate it!'));
    }
}