aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorR0flcopt3r <12752060+R0flcopt3r@users.noreply.github.com>2021-06-05 22:42:56 +0200
committerR0flcopt3r <12752060+R0flcopt3r@users.noreply.github.com>2021-06-05 23:12:56 +0200
commit48deaf177633e062582b7733f633a37b296cac95 (patch)
treee84e572de74e97c9895712166aea9217f169320e /src/main.rs
parentfeat: send action (diff)
feat: adds pet command.
When petting the cat it will reply with some random action.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 3213d50..21a1ba1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -40,5 +40,10 @@ async fn main() {
r"^\[.*?\]$",
catinator::hooks::intensify
),
+ command(
+ "pet",
+ "Pet the cat, cats generally like pets.",
+ catinator::hooks::pet::pet
+ ),
];
}