import config from '../config';

import BaseCommand from './BaseCommand';

/**
 * Simple ping command that will respond to any user that says '!ping'.
 */
class PingCommand extends BaseCommand {
    constructor(bot) {
        super(bot);
    }

    /**
     * This event method we should listen for.
     *
     * @type {string}
     */
    method = 'message';

    /**
     * The pattern to match against. If the message matches this pattern then we will respond to it with the action method.
     *
     * @type {RegExp}
     */
    pattern = /^!working/;

    /**
     * The function that should be called when the event is fired.
     *
     * @param {Message} message
     */
    action(action, message) {
        if (this.hasBypassRole(message)) {
            return false;
        }

        message.reply('Yes I\'m working!');
    }
}
@@ -1,37 +1,4 @@
-import config from '../config';%0A%0A
 impo
@@ -53,13 +53,8 @@
 ple 
-ping 
 comm
@@ -62,54 +62,50 @@
 nd t
-hat will respond to any user that says '!ping'
+o simply test if the bot is working or not
 .%0A *
@@ -116,9 +116,12 @@
 ass 
-P
+Work
 ingC
@@ -677,16 +677,17 @@
     if (
+!
 this.has
@@ -797,8 +797,40 @@
 %0A    %7D%0A%7D
+%0A%0Aexport default WorkingCommand;

Fix WorkingCommand