From 309899168a086de88acf97fd6683387a7af7078c Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 22 Oct 2021 19:08:59 +0200 Subject: write tons of documentation and reorganize some modules --- src/hooks/pet.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/hooks/pet.rs') 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( -- cgit v1.2.3