about summary refs log tree commit diff stats
path: root/README.md
blob: 699100ef05acfa9b601364f7ae94bc17bd4278e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# goofbot

An IRC bot I'm working on to practice Go.

## Features

External config file in JSON, optionally set via flag '-c'  
Gives example config file with flag '-j'  
Standard command/response structure  
* !totalusers - reports number of registered users  
* !users - reports logged in users  
* !uptime - reports uptime and load      
* !admin - Interacts with Gotify API to send a push notification to admins  
* !join #channel - Directs bot to join #channel  

Can define a bot owner for certain commands  
Able to identify with services  

## TODO

Externalize basic command/responses   
Sanitize output of !users so as to not ping them in IRC  
/span>echo "Other binaries will be assumed to live in apps/" exit 1 fi case $1 in ex*) ./subx --map --trace run examples/$* exit $? ;; *) ./subx --map --trace run apps/$* exit $? ;; esac