A discord bot helps groups with coding practicing and note taking.
user(uid, dcid, uname, fname, lname, createts)
problem(pid, pname)
user_problem(upid, uid, pid, ts, note)
!solved <pname> [-m <msg>] Record the problem solved with the option to take notes
!show <uname> [-a] Show the problems solved today by given username
and show all entries when -a specified
TODO:
!count <uname> [-a]
!noteshow <uname> [-p <pname>]
!graph <uname>
!help <pname>
!today
!libraryhours
e.g. !solved LintCode18
!solved LeetCode200 -m "This is a comment"
!show Richard -a
$ brew install FiloSottile/musl-cross/musl-cross
$ env GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-linux-musl-gcc go build --ldflags '-linkmode external -extldflags "-static"' main.go