diff options
| author | Max Audron <audron@cocaine.farm> | 2021-10-22 19:08:59 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-10-22 19:09:39 +0200 |
| commit | 309899168a086de88acf97fd6683387a7af7078c (patch) | |
| tree | 846075c1e9af0d7139edae5597f1147b851ed2b2 /src/hooks/pet.rs | |
| parent | remove wolfram alpha url shortening (diff) | |
write tons of documentation and reorganize some modules
Diffstat (limited to 'src/hooks/pet.rs')
| -rw-r--r-- | src/hooks/pet.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/hooks/pet.rs b/src/hooks/pet.rs index 3e2defe..d11f562 100644 --- a/src/hooks/pet.rs +++ b/src/hooks/pet.rs @@ -1,5 +1,3 @@ -use std::str; - use anyhow::{Context, Result}; use irc::client::prelude::*; use macros::privmsg; @@ -15,14 +13,9 @@ const PET_RESPONSE: [&str; 5] = [ "strikes you with it's sharp claws", ]; -/// Pet cat +/// Pet the cat, get rekt /// /// Sends some random action when petted. -/// -/// # See also -/// -/// - [`Bot::send_action`] -/// - RESPONSE pub fn pet(bot: &crate::Bot, msg: Message) -> Result<()> { privmsg!(msg, { bot.send_action( |
