1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.AwesomeCommand = void 0;
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | const command_1 = require("../models/command");
|
12 | const color_1 = require("../utilities/color");
|
13 | function pickOne(of) {
|
14 | return of[Math.floor(Math.random() * of.length)];
|
15 | }
|
16 | class AwesomeCommand extends command_1.Command {
|
17 | async run() {
|
18 | const phrase = pickOne([
|
19 | `You're on it, there's nothing for me to do!`,
|
20 | `Let's take a look... nope, it's all good!`,
|
21 | `You're doing fine.`,
|
22 | `You're already doing great.`,
|
23 | `Nothing to do; already awesome. Exiting.`,
|
24 | `Error 418: As Awesome As Can Get.`,
|
25 | `I spy with my little eye a great developer!`,
|
26 | `Noop... already awesome.`,
|
27 | ]);
|
28 | this.logger.info(color_1.colors.green(phrase));
|
29 | }
|
30 | }
|
31 | exports.AwesomeCommand = AwesomeCommand;
|