Skip to content

Commit

Permalink
Add /hug command
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb committed Jul 20, 2024
1 parent d8da096 commit 0e1db34
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <user>`
- `/boop <user>`
- `/gnaw <user>`
- `/hug <user>`
- `/kiss <user>`
- `/meow <user>`
- `/murder <user>`
Expand Down
15 changes: 15 additions & 0 deletions src/commands/silly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
];
}
}
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ async fn main(
commands::config(),
commands::debug(),
commands::gnaw(),
commands::hug(),
commands::kiss(),
commands::meow(),
commands::murder(),
Expand Down

0 comments on commit 0e1db34

Please sign in to comment.