diff options
Diffstat (limited to 'src/hooks/shifty_eyes.rs')
| -rw-r--r-- | src/hooks/shifty_eyes.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hooks/shifty_eyes.rs b/src/hooks/shifty_eyes.rs index 4680007..6203075 100644 --- a/src/hooks/shifty_eyes.rs +++ b/src/hooks/shifty_eyes.rs @@ -4,6 +4,7 @@ use irc::client::prelude::*; const EYES: [char; 11] = ['^', 'v', 'V', '>', '<', 'x', 'X', '-', 'o', 'O', '.']; const NOSE: [char; 7] = ['.', '_', '-', ';', '\'', '"', '~']; +/// you are being watched <.< pub fn shifty_eyes(bot: &crate::Bot, msg: Message) -> Result<()> { if let Command::PRIVMSG(_, text) = msg.command.clone() { if text.len() == 3 { @@ -41,6 +42,7 @@ fn invert(input: char) -> Result<char> { '>' => Ok('<'), '<' => Ok('>'), 'x' => Ok('o'), + '.' => Ok('o'), 'X' => Ok('O'), '-' => Ok('o'), 'o' => Ok('-'), |
