Compare commits

..

No commits in common. "8ad5751715d5324583cff2d781c0d24ddccc4ec2" and "9b75138b478969800ead70255ecb0c0788386557" have entirely different histories.

View File

@ -4,10 +4,10 @@ trap cleanup 1 2 3 6 9 11
cleanup() { kill $PID; }
BOTNICK="uugbot2"
BOTNICK="uugbot"
SERVER="irc.uugrn.org"
PORT="6660"
CHANNEL="#bottest"
CHANNEL="#uugrn"
BOTDIR="$PWD"
@ -89,6 +89,7 @@ kalender() {
# $1 nick
# $2 -1 decrease, +1 increase
savekarma() {
mkdir -p $BOTDIR/karma
[ ! -f "$BOTDIR/karma/$1" ] \
&& echo 0 > "$BOTDIR/karma/$1"
@ -146,7 +147,8 @@ karma() {
&& say "Echt jetzt, $NICK?"
}
transparenzbericht() {
cd $BOTDIR/karma
mkdir -p "$BOTDIR/karma"
cd $BOTDIR/karma || return
say "Gummipunkte Transparenzbericht:"
for i in $(ls)
do
@ -188,7 +190,9 @@ weather() {
say "$(curl -s "https://wttr.in/$l?lang=de&format=%l:+%t+%C+%w+%h+Regen")"
}
mkdir -p "$BOTDIR/{irc,seen,karma}"
mkdir -p "$BOTDIR/irc"
mkdir -p "$BOTDIR/seen"
mkdir -p "$BOTDIR/karma"
cd "$BOTDIR"
echo "connecting."