aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/lenny.ts
blob: 1877752b1852b0e6aad9ffbe5743b11266c6a548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import definePlugin from "../utils/types";
import { Devs } from "../utils/constants";
import { findOption, OptionalMessageOption } from "../api/Commands";

export default definePlugin({
    name: "lenny",
    description: "( ͡° ͜ʖ ͡°)",
    authors: [Devs.Arjix],
    dependencies: ["CommandsAPI"],
    commands: [
        {
            name: "lenny",
            description: "Sends a lenny face",
            options: [OptionalMessageOption],
            execute: opts => ({
                content: findOption(opts, "message", "") + " ( ͡° ͜ʖ ͡°)"
            }),
        },
    ]
});