From 0e1db343ce60f4d9054714f9e32ec6e61e449811 Mon Sep 17 00:00:00 2001 From: Valentine Briese Date: Fri, 19 Jul 2024 18:38:45 -0700 Subject: [PATCH] Add `/hug` command --- README.md | 3 ++- src/commands/silly.rs | 15 +++++++++++++++ src/main.rs | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65f90fd..14867f2 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,14 @@ Join the [Goober Bot Dev](https://discord.gg/7v2aY2YzJU) Discord server to try t ## Commands -*Last updated Jul 18, 2024* +*Last updated Jul 19, 2024* ### Silly - `/bite ` - `/boop ` - `/gnaw ` +- `/hug ` - `/kiss ` - `/meow ` - `/murder ` diff --git a/src/commands/silly.rs b/src/commands/silly.rs index edea50a..3fc84b0 100644 --- a/src/commands/silly.rs +++ b/src/commands/silly.rs @@ -211,3 +211,18 @@ silly_command! { ]; } } + +silly_command! { + /// Does somebody want a huuuug :3 + fn hug("No seriously, who wants a hug? I need to know-") { + bot_message = "Awawawa, thanks for the hug {author} {FLOOF_HEART}"; + author_message = "{author} gave themselves a hug {FLOOF_PLEAD}"; + messages = [ + "{author} gave {user} a much needed hug {FLOOF_HEART}", + "{author} wrapped their arms around {user} for a hug {FLOOF_HEART}", + "Awww, {author} and {user} are hugging, so wholesome {FLOOF_PLEAD}", + "{author} and {user} are hugging and uhh, me too, I'm also a part of the hug {FLOOF_PLEAD}", + "Before {user} could say anything, {author} had them trapped in an embrace {FLOOF_HEART}", + ]; + } +} diff --git a/src/main.rs b/src/main.rs index 8b110f9..2afeca6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,6 +180,7 @@ async fn main( commands::config(), commands::debug(), commands::gnaw(), + commands::hug(), commands::kiss(), commands::meow(), commands::murder(),