Commit Graph

5 Commits (master)

Author SHA1 Message Date
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 76b7707b2b
modules/config: Move all configurable constants into config package 2019-11-27 20:14:17 +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