Skip to content

Commit

Permalink
Add /poke command
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb committed Sep 28, 2024
1 parent 68d9e7c commit a206c3f
Show file tree
Hide file tree
Showing 3 changed files with 19 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,7 +21,7 @@ Join the [Goober Bot Dev](https://discord.gg/7v2aY2YzJU) Discord server to try t

## Commands

*Last updated Sep 20, 2024*
*Last updated Sep 28, 2024*

### Silly

Expand All @@ -36,6 +36,7 @@ Join the [Goober Bot Dev](https://discord.gg/7v2aY2YzJU) Discord server to try t
- `/meow <user>`
- `/murder <user>`
- `/pat <user>`
- `/poke <user>`
- `/revive <user>`
- `/slap <user>`

Expand Down
16 changes: 16 additions & 0 deletions src/commands/silly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,22 @@ silly_command! {
}
}

silly_command! {
/// Hey, hey, hey, hey, hey, hey, hey-
fn poke("Whom to get the attention of") {
bot_message = "Huh, oh- what do you need {author}? {FLOOF}";
author_message = "{author} has... poked themselves? I'm not sure why... {FLOOF_WHAT}";
messages = [
"Hey {user}, hey {user}, hey {user}, hey {user}-\nI think {author} might want your attention {FLOOF_BLEP}",
"\\*poke* \\*poke*\n{author}'s poking you, {user} {FLOOF_BLEP}",
"{author} poked {user} with a stick from a distance {FLOOF_PEEK}",
"{user} felt a sudden poke from {author}, startling them {FLOOF_OWO}",
"Sorry {user}, {author}'s not gonna stop poking you until you pay attention to them {FLOOF_TIRED}",
"{user} suddenly felt a poke on their shoulder, only to turn and see {author} innocently looking away {FLOOF_INNOCENT}",
];
}
}

// TODO: add `/kick`?
// TODO: add `/lick`?
// TODO: add `/punch`?
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ async fn main(
commands::meow(),
commands::murder(),
commands::pat(),
commands::poke(),
commands::revive(),
commands::rock_paper_scissors(),
commands::slap(),
Expand Down

0 comments on commit a206c3f

Please sign in to comment.