aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/lenny.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lenny.ts')
-rw-r--r--src/plugins/lenny.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/plugins/lenny.ts b/src/plugins/lenny.ts
new file mode 100644
index 0000000..901febc
--- /dev/null
+++ b/src/plugins/lenny.ts
@@ -0,0 +1,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", "") + " ( ͡° ͜ʖ ͡°)"
+ }),
+ },
+ ]
+});