13 lines
428 B
Rust
13 lines
428 B
Rust
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";
|
|
pub const REPO_LINK: &str = "https://git.mckechney.us/l3gion/robbit.git";
|
|
|
|
pub fn link(_: regex::Captures, _: &Message, _: &VecDeque<Message>) -> String {
|
|
format!("{}\r\nPRs are always welcome!", REPO_LINK)
|
|
}
|