Introduction
Introduction Statistics Contact Development Disclaimer Help
Add Meme Du Jour. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit e5029af4c5c684f5c30e50f6859b59d57956464e
parent 8ede2c250c8fd88b6ebd94990d90ff7ae7195a61
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 10 Aug 2024 16:23:03 +0200
Add Meme Du Jour.
Diffstat:
A meme-du-jour | 10 ++++++++++
A random-meme | 6 ++++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/meme-du-jour b/meme-du-jour
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export PATH="$PATH:/home/annna/bin"
+
+memedujourchannel="#bitreich-books"
+memedujourserver="irc.bitreich.org"
+memedujour="$(random-meme)"
+
+annna-say -s "${memedujourserver}" -c "${memedujourchannel}" "Meme Du Jour: ${…
+
diff --git a/random-meme b/random-meme
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+hashtagfile="/home/annna/bin/modules/hashtags/hashtags.txt"
+
+shuf -n 1 "${hashtagfile}" | cut -d' ' -f 2
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.