From 8d8c11a4339f72c1ef8c0c909f19d2c72b441e60 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Sun, 11 Aug 2024 13:08:49 +0100 Subject: [PATCH] Publish Discord Bots page --- gmem.ca/discord-bots.html | 63 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 gmem.ca/discord-bots.html diff --git a/gmem.ca/discord-bots.html b/gmem.ca/discord-bots.html new file mode 100644 index 0000000..fd4f271 --- /dev/null +++ b/gmem.ca/discord-bots.html @@ -0,0 +1,63 @@ + + + + + + + Discord Bots | arch.dog + + + +
+

Discord Bots

+

Over time, I write Discord bots to do various small tasks for servers. + You may also find them useful!

+
+

DupliKate track duplicate links

+

+ It's fairly common for the same link to be shared by multiple members over the + course of a day or week. DupliKate keeps track of links posted and notifies a + member if they post the same link in a channel as someone else in the last week. + invite!

+
Demo +
+ +
+
+

+ Links are stored as a SipHash string (link-channel_id) associated with the message + ID and server ID. This is to enable checking duplicate links while not revealing + the link itself. No other information is stored. +

+
+
+

Nitter Bot translate twitter links to nitter

+

+ These days it's usual to use a Twitter embed fixer like fxtwitter or vxtwitter + when linking Twitter content for a better embed experience. This bot provides the + /nitter command to parse and post a link to a Nitter instance + (nitter.gmem.ca), along with prefetching the page to cache it ahead of time. + invite!

+
Demo +
+ +
+
+

This bot does not store any information directly. The Nitter instance in use contains + a custom patch to more aggresively cache posts to avoid rate limiting.

+
+
+ +