Commit Graph

30 Commits (master)
 

Author SHA1 Message Date
Luther Wen Xu 32ed99d73d
fix: Recalculate all messages instead of first 2020-09-15 07:31:03 +07:00
Luther Wen Xu f59ccc00e0
fix: Create a new XP entry for new users 2020-09-15 00:10:40 +07:00
Luther Wen Xu 877cf55380
feat: Catch new messages during level recalculation
The code now goes through all the channels again until no new messages are found.
2020-09-15 00:08:15 +07:00
Luther Wen Xu 1605f43d9f
refactor: Move base64 generation to util 2020-06-07 19:52:29 +07:00
Luther Wen Xu 75b91331a7
feat: Add ignored channels 2020-06-06 17:26:34 +07:00
Luther Wen Xu e28fffa193
fix: Ignore all DMs 2020-05-31 22:57:58 +07:00
Luther Wen Xu 74b92e4fd8
feat: Add roll command 2020-05-31 22:56:44 +07:00
Luther Wen Xu e4f8f523ae
feat: Add leaderboard 2020-05-31 12:35:54 +07:00
Luther Wen Xu 069da9f1c6
fix: Bot should not be given roles 2020-05-31 12:10:45 +07:00
Luther Wen Xu fa21b5abf6
chore: Fix bugs pointed out by linter 2020-05-31 11:23:23 +07:00
Luther Wen Xu 2dc1c925ea
feat: Report recalculate level status 2020-05-31 11:21:13 +07:00
Luther Wen Xu 499ec2de8d
feat: Report command failures out loud instead of silently failing 2020-05-31 11:17:16 +07:00
Luther Wen Xu ce43bd5864
fix: Keep calm and report panics
This prevents random crashes within Milen's code.
2020-05-31 11:13:40 +07:00
Luther Wen Xu 2ec00273c1
fix: Listen to bot levels 2020-05-31 11:05:56 +07:00
Luther Wen Xu 0b2e1caf51
fix: Fix off-by-one bug in level calculation 2020-05-31 11:04:07 +07:00
Luther Wen Xu 830eeb543a
fix: Prevent people with no role from getting roles 2020-05-30 22:56:19 +07:00
Luther Wen Xu d273102aa2
feat: Add level roles 2020-05-30 22:50:26 +07:00
Luther Wen Xu 879b482b7a
feat: Implement level 2020-05-30 21:31:50 +07:00
Luther Wen Xu 11fed61073
feat: Implement macros 2020-05-30 20:51:04 +07:00
Luther Wen Xu f531877521
feat: Implement level listener 2020-05-30 20:49:45 +07:00
Luther Wen Xu 46aad07121
feat: Add level command 2020-05-30 20:47:10 +07:00
Luther Wen Xu 35115fd0d1
feat: Add GetAvatar helper function 2020-05-30 20:45:24 +07:00
Luther Wen Xu 68b3ffa799
feat: Add ability to format time and plural 2020-05-30 20:45:01 +07:00
Luther Wen Xu c811aa4334
feat: Add ability to send custom embeds 2020-05-30 20:44:12 +07:00
Luther Wen Xu 4f687f4d56
commands+db: Implement level recalculation 2020-05-12 22:30:35 +07:00
Luther Wen Xu 24a3887288
commands+reactrole: Ignore bot events 2020-05-12 18:35:02 +07:00
Luther Wen Xu 0bd76d9c7b
Refactor everything
Well, practically it's a rewrite.
2020-05-12 18:18:19 +07:00
Luther Wen Xu 1828615e94
humanify: Move constant string out of code 2020-05-11 14:43:55 +07:00
Luther Wen Xu 41c8173c95
db: Remove debug print statements 2020-05-11 14:03:18 +07:00
Luther Wen Xu e52eb3a553
Initial Commit 2020-05-11 13:30:07 +07:00