Commit graph

149 commits

Author SHA1 Message Date
352283ecec cargo fmt 2022-02-20 17:57:41 -08:00
e112be0d87 Polish -h i command & add to -h help 2022-02-20 17:57:28 -08:00
d39506ec95 cargo fmt 2022-02-20 17:46:34 -08:00
10bc1ad69a Add -h i command 2022-02-20 17:46:20 -08:00
a9710893b8 Make get_lists_data return a Map 2022-02-20 15:32:44 -08:00
8d36217221 Move opening kanji lists into get_lists_data function 2022-02-20 15:18:47 -08:00
96a813074b Remove Cargo.lock from .gitignore as ji-chan is executable 2022-02-19 11:10:27 -08:00
38318687dc cargo fmt 2022-02-19 11:07:52 -08:00
a1c3e7c047 Add pullAndRebuildSite command 2022-02-18 11:58:36 -08:00
eb43f48b84 Add rebuild site command and make site rebuilding using shell script 2022-02-18 11:49:24 -08:00
4f545e6d14 Fix set_guild_data 2022-02-17 21:37:21 -08:00
72333cc116 Move guild data path into environment variable 2022-02-17 21:36:02 -08:00
4f1d9f62e2 Rebuild site upon image deletion 2022-02-17 21:29:55 -08:00
b30cd5c1ca Fix imageDelete bug 2022-02-17 21:26:10 -08:00
2051b53db0 Fix bug where submissions crash on servers without set submission channel 2022-02-17 21:11:30 -08:00
531e108bdb #[allow(non_snake_case)] on announceChallenge 2022-02-17 14:07:42 -08:00
0741d18c48 Add announceChallenge command 2022-02-17 13:15:37 -08:00
91198ab35e Add announcement command 2022-02-17 12:41:28 -08:00
c825731814 Add setAnnouncementRole command 2022-02-17 10:28:40 -08:00
be78e7c88c Add guild name to setSubmissionChannel command 2022-02-16 20:12:52 -08:00
c42faaf6a3 cargo fmt 2022-02-16 20:05:59 -08:00
fa7b47c3a5 Remove unnecessary use statements 2022-02-16 20:05:40 -08:00
095062f17d Fix scenario where guild exists in file, but with no submissionChannel set 2022-02-16 20:04:49 -08:00
c3baa99068 Prevent submissions outside of designated submission channels 2022-02-16 19:47:41 -08:00
15ab2de365 Add setSubmissionChannel command 2022-02-16 19:32:39 -08:00
7234e7178d Add help command 2022-02-16 17:36:29 -08:00
7a11c52c4d cargo fmt 2022-02-16 16:53:20 -08:00
514d57eef4 Add imageDelete command 2022-02-16 16:52:17 -08:00
1849a5c16d Add images command 2022-02-16 12:52:22 -08:00
c2cc3bdc2a Move get/set submission data into functions 2022-02-16 12:08:09 -08:00
2d0d8ed7ed Add site rebuilding 2022-02-16 11:51:07 -08:00
d28ecd438d Ensure submission images folder exits and flush images after writing 2022-02-16 11:49:14 -08:00
4f0655f388 Remove embed from challenge command 2022-02-16 10:58:05 -08:00
339c921e8b Swap slugify for slug 2022-02-16 10:56:51 -08:00
11b0995900 cargo fmt 2022-02-15 18:32:40 -08:00
e5ed606fa9 Add submit command 2022-02-15 18:32:19 -08:00
c8a20147e5 cargo fmt 2022-02-15 12:08:53 -08:00
66b52c491d Add challenge command 2022-02-15 12:08:18 -08:00
810e3f09c4 Add example .env file 2022-02-15 11:09:14 -08:00
f35bea5489 Improve kanji link validation using HEAD request 2022-02-15 11:07:12 -08:00
Elnu
c4451c93e2
Create LICENSE 2022-02-14 21:22:57 -08:00
Elnu
a711a2d7df
Add ji-chan.png to README.md 2022-02-14 21:19:51 -08:00
Elnu
3495b1cf39
Add ji-chan.png 2022-02-14 21:16:51 -08:00
Elnu
e6ea5bfe27
Create README.md 2022-02-14 21:15:46 -08:00
1131e1692b cargo fmt 2022-02-14 20:53:19 -08:00
269e4f77c9 Add stroke order command 2022-02-14 20:51:58 -08:00
ef7638a315 Initial working version of random kanji commands 2022-02-14 20:09:08 -08:00
e91804a396 cargo init 2022-02-14 10:30:10 -08:00
Elnu
40088aea11
Initial commit 2022-02-14 10:29:14 -08:00