Comment where things start
This commit is contained in:
parent
321dc3654b
commit
b050adbc02
10
start.sh
10
start.sh
@ -13,6 +13,10 @@ BOTDIR="$PWD"
|
|||||||
IRCIN="$BOTDIR/irc/$SERVER/$CHANNEL/in"
|
IRCIN="$BOTDIR/irc/$SERVER/$CHANNEL/in"
|
||||||
IRCOUT="$BOTDIR/irc/$SERVER/$CHANNEL/out"
|
IRCOUT="$BOTDIR/irc/$SERVER/$CHANNEL/out"
|
||||||
|
|
||||||
|
###
|
||||||
|
### FUNCTIONS ###
|
||||||
|
###
|
||||||
|
|
||||||
# $1 message
|
# $1 message
|
||||||
say() {
|
say() {
|
||||||
echo "out> $1"
|
echo "out> $1"
|
||||||
@ -165,6 +169,12 @@ weather() {
|
|||||||
say "$(curl -s "https://wttr.in/$l?lang=de&format=%l:+%t+%C+%w+%h+Regen")"
|
say "$(curl -s "https://wttr.in/$l?lang=de&format=%l:+%t+%C+%w+%h+Regen")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### MAIN PROGRAM ###
|
||||||
|
###
|
||||||
|
|
||||||
mkdir -p "$BOTDIR/{irc,seen,karma}"
|
mkdir -p "$BOTDIR/{irc,seen,karma}"
|
||||||
cd "$BOTDIR"
|
cd "$BOTDIR"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user