Luther Wen Xu
0e68c29b95
commands: Become case-insensitive on commands
2020-01-29 00:48:07 +07:00
Luther Wen Xu
e21aba4e60
main: Add message when bot is turned on
2020-01-29 00:45:20 +07:00
Luther Wen Xu
6b0afb5f1d
modules/command: Implement "pgqadmin kick"
2020-01-12 18:05:45 +07:00
Luther Wen Xu
76b7aaa01a
modules/active+config: Allow multiple unnerfed channels
2020-01-05 17:00:23 +07:00
Luther Wen Xu
828b942e68
README: Initial commit
2020-01-05 16:38:58 +07:00
Luther Wen Xu
8b4a039ee1
modules/command: Add `pgqadmin` command
...
This command currently only has one feature: To echo an arbitrary
message to an arbitrary channel.
2020-01-04 22:15:50 +07:00
Luther Wen Xu
ec1657d398
modules/commands+level: Prestiging now flushes level cache
...
This allows newly prestiged users to get their roles back.
2020-01-04 21:16:10 +07:00
Luther Wen Xu
c80fdc51cc
modules/config+gacha: Make gacha rewards configurable
2020-01-04 20:23:37 +07:00
Luther Wen Xu
cc9b770cf6
modules/commands/level: Do not display percentage on max level
2019-12-13 18:52:06 +07:00
Luther Wen Xu
e9d2db3023
modules/level: Make total number of levels flexible
2019-12-13 18:48:51 +07:00
Luther Wen Xu
eb23870513
modules: Check for errors and report them
2019-12-13 18:14:32 +07:00
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