Commit Graph

45 Commits (801f9f8d6f36fa55446e7839811af9010db87119)
 

Author SHA1 Message Date
Luther Wen Xu 801f9f8d6f
modules/config: Move roles and token into config file 2019-12-13 18:08:01 +07:00
Luther Wen Xu c73d28cc79
modules/config: Read all config from JSON instead of hardcoding them 2019-12-13 17:52:36 +07:00
Luther Wen Xu ae09dbbe85
modules/roles: Clean up code 2019-12-12 15:30:25 +07:00
Luther Wen Xu 07d61be4be
modules/commands/level: Fix level display
This prevents the randomizer from showing values above the level up requirement
2019-12-12 14:13:43 +07:00
Luther Wen Xu 5e89a5d9f9
modules/starboard: Fix starboard thumbnail
The code was looking in embeds when Discord places it in attachments. This has been rectified by making the code look in attachments instead.
2019-12-12 13:32:38 +07:00
Luther Wen Xu f4aa441899
modules/starboard: Add thumbnails of pictures when a file is attached
This prevents seemingly empty starred messages from appearing
2019-12-12 12:54:05 +07:00
Luther Wen Xu 70655246ac
modules/starboard: Fix duplicate starring in message
Starboard is not meant to star a message multiple times. After investigation, it has been noted that the check if a message has been starred does not check the same ID as the one recorded. To rectify this, the recorded ID is now the message that got starred instead of the one sent to starboard.
2019-12-12 12:37:38 +07:00
Luther Wen Xu 1bdf798cb9
modules/level: Make sure variable is not changed in another thread 2019-11-29 22:33:07 +07:00
Luther Wen Xu 2fc1e22e23
modules/roles: Don't assign old level role again 2019-11-29 22:10:01 +07:00
Luther Wen Xu 19e016ae78
modules/gacha: Fix implementation of random 2019-11-28 12:11:06 +07:00
Luther Wen Xu a49f97dab1
modules/commands/version: Fix os.exec() call 2019-11-27 20:35:38 +07:00
Luther Wen Xu 17826afb1e
modules/commands: Implement 'pgqversion' command 2019-11-27 20:27:56 +07:00
Luther Wen Xu 76b7707b2b
modules/config: Move all configurable constants into config package 2019-11-27 20:14:17 +07:00
Luther Wen Xu 05512cbbd2
modules/commands: Separate into their own package 2019-11-27 18:40:31 +07:00
Luther Wen Xu 825cf44216
modules: Move most code in main package to their own modules 2019-11-27 17:07:48 +07:00
Luther Wen Xu 4887d55707
db: Reorganize code into separate package 2019-11-20 20:59:48 +07:00
Luther Wen Xu 48b6994dc9
starboard: Only trim when message is too long 2019-11-20 17:36:02 +07:00
Luther Wen Xu ea84d81e0b
starboard: Create database 2019-11-20 17:28:58 +07:00
Luther Wen Xu 4bc658653b
starboard: Record all starred messages 2019-11-20 17:25:18 +07:00
Luther Wen Xu 4d46fb1960
starboard: Change starred message format 2019-11-20 17:19:14 +07:00
Luther Wen Xu a68dc0e9bf
starboard: Allow starring of starred messages and prevent starred messages from getting reposted 2019-11-20 16:57:23 +07:00
Luther Wen Xu 11505f0e1a
starboard: Fix message link check 2019-11-20 16:39:57 +07:00
Luther Wen Xu b843195845
starboard: Implement 'pgqstar' command 2019-11-20 16:34:54 +07:00
Luther Wen Xu 0cce403a83
starboard: Lower star requirement 2019-11-20 16:25:13 +07:00
Luther Wen Xu 538583c6db
starboard: Don't star every message and fix embed 2019-11-20 16:24:14 +07:00
Luther Wen Xu 46cee1af47
starboard: Initial implementation 2019-11-20 16:16:28 +07:00
Luther Wen Xu 05e08ce216
xp: Obfuscate current XP 2019-11-19 20:25:08 +07:00
Luther Wen Xu 78c26c7ade
prestige: Fix messages 2019-11-19 16:20:05 +07:00
Luther Wen Xu 7739c8272c
prestige: Listen to event 2019-11-19 16:12:16 +07:00
Luther Wen Xu 7600a9e5a6
prestige: Lower requirement to level 5 2019-11-19 16:08:47 +07:00
Luther Wen Xu 9956606bc7
xp: Nerf spam XP 2019-11-19 15:14:26 +07:00
Luther Wen Xu f165fa1516
prestige: Remove all level roles on prestige 2019-11-19 15:12:21 +07:00
Luther Wen Xu 11cc377789
gacha: Do not gacha for level 1 2019-11-19 15:05:05 +07:00
Luther Wen Xu fd8ad961b2
prestige: Implement prestige command 2019-11-19 15:02:18 +07:00
Luther Wen Xu a11d9c94d2
xp: Buff general messages and nerf command messages 2019-11-18 23:23:40 +07:00
Luther Wen Xu 31af8e915d
level: Remove unused import 2019-11-18 22:41:37 +07:00
Luther Wen Xu fa76951215
xp: Modify level requirement curve to be more exponential 2019-11-18 22:39:15 +07:00
Luther Wen Xu 614186a4a7
gacha: Implement permission giving 2019-11-18 22:38:03 +07:00
Luther Wen Xu 38a9d2eda2
level: Generalize level processing instead of labelling it as roles 2019-11-18 15:30:21 +07:00
Luther Wen Xu 5a20314f4f
xp: Display level up percentage 2019-11-18 14:43:33 +07:00
Luther Wen Xu a89935beb6
xp: Fix max level display 2019-11-18 14:42:20 +07:00
Luther Wen Xu 5ce16fcbd0
xp: Implement level role 2019-11-18 13:11:36 +07:00
Luther Wen Xu f1112c2fbf
xp: Implement level querying 2019-11-18 12:25:34 +07:00
Luther Wen Xu 705eb52759
xp: Fix SQL query 2019-11-17 22:52:44 +07:00
Luther Wen Xu c9c68d7e88
Initial Commit 2019-11-17 22:47:34 +07:00