From e5e5ef8b6b4cfa57537d3dcde45028a32b4d0a68 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Tue, 7 Sep 2021 14:03:52 +0200 Subject: add about command --- src/hooks/mod.rs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/hooks') diff --git a/src/hooks/mod.rs b/src/hooks/mod.rs index ee64643..e62fc93 100644 --- a/src/hooks/mod.rs +++ b/src/hooks/mod.rs @@ -3,13 +3,25 @@ extern crate rand; use anyhow::Result; use irc::client::prelude::*; -pub mod sed; pub mod intensify; -pub mod shifty_eyes; pub mod pet; +pub mod sed; +pub mod shifty_eyes; -pub use shifty_eyes::shifty_eyes; pub use intensify::intensify; +pub use shifty_eyes::shifty_eyes; + +pub fn about(bot: &crate::Bot, msg: Message) { + bot.send_privmsg( + msg.response_target().unwrap(), + &format!( + "{name} is {name} - https://gitlab.com/cocainefarm/gnulag/catinator", + name = bot.config.user.nickname + ) + .to_string(), + ) + .unwrap(); +} pub fn sasl(bot: &crate::Bot, msg: Message) -> Result<()> { match msg.command { -- cgit v1.2.3 >NixOS configuration for vapor.systems serversMax Audron <me@audron.dev>
aboutsummaryrefslogtreecommitdiff
path: root/modules/powerdns/pdns-primary.conf (unfollow)
Commit message (Collapse)AuthorLines
2024-02-28remove gitlab moduleMax Audron-25/+0
2024-02-26update d3fus phone wg pubkeyMarcin Maselko-1/+1
2024-02-26added d3fus nass to wg configMarcin Maselko-0/+9
2024-02-21set minecraft memoryMax Audron-0/+1
2024-02-21add minecraft server and move palworld to games moduleMax Audron-3/+56
2024-02-21set network manually for ns serversMax Audron-0/+51
2024-02-20update nixpkgs-unstableMax Audron-3/+3
2024-02-19update d3fus fritzbox wg portMarcin Maselko-1/+1
2024-02-19add xonotic serverMax Audron-1/+10