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