Skip to content

hleng1/turing-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

turing-bot

A discord bot helps groups with coding practicing and note taking.

Dependency

DB Schema

user(uid, dcid, uname, fname, lname, createts)

problem(pid, pname)

user_problem(upid, uid, pid, ts, note)

Usage

!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

Cross compiling for Linux

$ 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

Releases

No releases published

Packages

No packages published

Languages