Skip to content

Commit 22988d4

Browse files
author
Hanbing Leng
authored
Update README.md
1 parent cbd341b commit 22988d4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,26 @@ A discord bot helps groups with coding practicing and note taking.
55
## Dependency
66
- [Go 1.12.1+](https://golang.org/dl/)
77
- [sqlite](https://www.sqlite.org/download.html)
8+
9+
## DB Schema
10+
11+
**user**(uid, dcid, uname, fname, lname, createts)
12+
13+
**problem**(pid, pname)
14+
15+
**user_problem**(upid, uid, pid, ts, note)
16+
17+
## Usage
18+
19+
```
20+
!solved <pname> [-m <msg>] Record the problem solved with the option to take notes
21+
!show <uname> [-a] Show the problems solved today by given username
22+
and show all entries when -a specified
23+
TODO:
24+
!count <uname> [-a]
25+
!noteshow <uname> [-p <pname>]
26+
!graph <uname>
27+
!help <pname>
28+
!today
29+
!libraryhours
30+
```

0 commit comments

Comments
 (0)