aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/lenny.ts
blob: 901febc950cb77da3a5590272b1c56e2201eb46d (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", "") + " ( ͡° ͜ʖ ͡°)"
            }),
        },
    ]
});