Files
robbit/src/modules/repo.rs

13 lines
428 B
Rust
Raw Normal View History

2024-03-27 22:02:10 -07:00
use irc::proto::Message;
use std::collections::VecDeque;
pub const PATTERN: &str = "^\\$repo\\s*$";
pub const NAME: &str = "repo";
pub const USAGE: &str = "Usage: $repo\r\nThis gives the link to the robbit repo";
2026-05-27 01:13:44 -04:00
pub const REPO_LINK: &str = "https://git.mckechney.us/l3gion/robbit.git";
2024-03-27 22:02:10 -07:00
pub fn link(_: regex::Captures, _: &Message, _: &VecDeque<Message>) -> String {
format!("{}\r\nPRs are always welcome!", REPO_LINK)
}