aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR0flcopt3r <12752060+R0flcopt3r@users.noreply.github.com>2021-10-09 16:07:09 +0200
committerMax Audron <audron@cocaine.farm>2021-10-10 16:21:55 +0200
commit28c29a85309dc40b567df66638a4472ea2d1507f (patch)
treee9ebdf2f57203f15870eb79621310c1cb3e54a46
parentwhy isn't this working (diff)
for running test shit
-rw-r--r--config.toml8
-rw-r--r--src/main.rs34
2 files changed, 4 insertions, 38 deletions
diff --git a/config.toml b/config.toml
index 93aa6e8..17e6aa0 100644
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,6 @@
[user]
-nickname = "\\__{^-_-^}"
-username = "catinator"
+nickname = "r0flcat"
+username = "r0fltest"
password = ""
realname = "moaw"
@@ -9,7 +9,7 @@ hostname = "irc.snoonet.org"
port = 6697
tls = true
sasl = true
-channels = ["#redoxmasterrace", "#linuxmasterrace", "#gnulag"]
+channels = ["#linuxmasterrace"]
[settings]
-prefix = ':'
+prefix = '_'
diff --git a/src/main.rs b/src/main.rs
index 12881e4..a9faa78 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -19,44 +19,10 @@ async fn main() {
catinator::hooks::sasl
),
hook(
- "sed_log",
- "Log messages for use with sed replace, max 10k lines.",
- PRIVMSG,
- sed.log
- ),
- hook(
"url_preview",
"Send preview of website",
PRIVMSG,
catinator::hooks::url::url_preview
)
- matcher(
- "shifty_eyes",
- ">.>",
- r"^\S{3}$",
- catinator::hooks::shifty_eyes
- ),
- matcher(
- "replace",
- "sed style replace with regex support. i/g/U/x sed flags available",
- r"^s/",
- sed.replace
- ),
- matcher(
- "intensify",
- "makes everything kinda more intense",
- r"^\[.*?\]$",
- catinator::hooks::intensify
- ),
- command(
- "pet",
- "Pet the cat, cats generally like pets.",
- catinator::hooks::pet::pet
- ),
- command(
- "about",
- "Prints some info about this kitty cat",
- catinator::hooks::about
- ),
];
}