Commit Graph
127 Commits
Author SHA1 Message Date
Minz f5837c4b25 Debug: Extend rendering debug command 2023-08-20 11:53:50 +02:00
Minz 36de2c1715 Rendering: Properly handle error response from Jose 2023-08-17 17:08:12 +02:00
Minz 4d72f8562e Profile: Implement custom profile backgrounds 2023-08-07 17:34:19 +02:00
Minz 6edc6771ef Profile: Fix showcase card being out of order.
The showcase cards were rendered based on the order in which
the render calls returned within the slots.map call.
Using the original slot keys fixes this issue.
2023-08-07 17:34:19 +02:00
Minz 0c232a55cb Debug: Catch and print errors when fetching from Jose 2023-08-07 17:34:19 +02:00
Minz d7a99968bc GeneralUtils/Profile: Shorten numbers to K M B format
- Implemented for currencies on the profile
2023-08-07 17:34:19 +02:00
Minz b099c29ecf Rendering: Add debug output in develop mode
- Burn node info into rendered card
- Log job def onto console
2023-08-07 17:34:19 +02:00
Minz aaaac430e6 Editprofile: Properly defer updates on non-modal interactions
Also fixes interaction filtering by user id.
Also fixes collector filtering by modal customID
2023-08-07 17:34:19 +02:00
Minz e50449ec03 Cleanup legacy rendering code and files
also removes dockerfile and imagemagick.
2023-08-07 17:34:19 +02:00
Minz 2a4b58f7af Rendering: Reposition labels for top-aligned default 2023-08-07 17:34:19 +02:00
Minz e1cc82eb32 Rendering: Add placeholder frame
and fix profile card alignment
2023-08-07 17:34:19 +02:00
Minz 6d35019e3e Profile: Add stats bar to new rendering 2023-08-07 17:34:19 +02:00
Minz 490db1c70f Profile: Add userimage and status to new profile 2023-08-07 17:34:19 +02:00
Minz 21ccd3a3d1 Profile: Add new rendering for username and showcase 2023-08-07 17:34:19 +02:00
Minz a33a7d737e Editprofile: Remove top level defer which broke modal inputs 2023-08-07 17:34:19 +02:00
Minz d99b8ab4d6 Rendering: WIP Replacing renderer with external API 2023-08-07 17:34:19 +02:00
Minz d4caefc077 Missing: Use embeds 2023-06-06 14:52:38 +02:00
Minz 088079cc0e Commands: Add core missing command 2023-06-05 17:56:48 +02:00
Minz babb45f461 Drop: Only ping when wishlist pings are enabled
by the user.
2023-04-05 17:17:10 +02:00
Minz 6067fbb24e Editprofile: Add buttons to toggle ping user-settings 2023-04-05 16:48:46 +02:00
Minz a1c9f9f32e ReplyUtils: Make component recreation compatible with multi-row components 2023-04-05 16:47:13 +02:00
Minz fdf5a4074b Wishlist: Implement Patreon perks for wishlist slots 2023-04-03 17:16:23 +02:00
Minz c48aa8b34f Docs: Add docs to collection command 2023-04-03 15:30:38 +02:00
Minz 3ac10c6e24 Docs: Add docs for collection and view commands 2023-04-03 15:23:14 +02:00
Minz 46f2bc377f Custom: Prevent dropping and burning of custom cards 2023-04-01 15:26:02 +02:00
Minz 793119dfc9 Wishlist: Fix TypeError on initial wishlist creation
On creation Characters are not included. Since a new wishlist
is empty anyway, we attach an empty array manually.
2023-03-16 00:59:59 +01:00
Minz 7bb02e2d3d Drop: Revert change that limited drops to specific IDs
This was meant to be removed after debugging, oops
2023-03-16 00:37:20 +01:00
Minz 92807bc4db Drop: Add wishlist pings to drops 2023-03-16 00:30:38 +01:00
Minz ce55b1b45a Debug: Add wishlist debug command 2023-03-16 00:30:21 +01:00
Minz 77e09ca5ce Wishlist: Add model and command 2023-03-16 00:29:53 +01:00
Minz b8db85e71c Wishlist: Command boilerplate 2023-03-15 15:31:02 +01:00
Minz b8ffa9fd94 Drop: Fix for patreon perks not applying
same as in 3d1ed01
We also move up the action handler hoping that persisting early helps with
multiple drops happening quickly
2023-03-15 11:23:58 +01:00
Minz 4a9450e82e Register: Add default values for nextDrop/Claim/Daily
Since we changed the datatype to TIMESTAMP we no longer have DB native default values
therefore we supply them on register.
2023-03-14 16:08:04 +01:00
Minz 3d1ed01bcb Cooldowns: Fix for patreon perks not applying
if cooldown resets are trigered by a drop.
The tier parameter wasn't passed from within thedrop command.
We should probably move the tier fetch logic into getCooldown.
2023-03-14 10:52:58 +01:00
Minz cecc9c4c9d Claim: Fix wrong user passed to actionHandler 2023-03-13 16:57:40 +01:00
Minz 646ef11abd Cooldown: Use Discord countdown tags for cooldowns
Closes #37
2023-03-13 16:22:07 +01:00
Minz a096d288f6 Drop: Revert permission threshold change
to restore cooldown bypass for admins
2023-03-13 16:07:42 +01:00
Minz 31bb2512ec Debug: Allow patreon debug with optional extUser 2023-03-13 14:41:46 +01:00
Minz 3a63d04af5 Daily: Implement daily rewards command 2023-03-13 12:37:44 +01:00
Minz a2883732ca Debug: Fix claim reset key 2023-03-13 03:43:34 +01:00
Minz 147cb1553d Cooldowns: Add support for new Patreon multi drops/pickups
Also include <t:> timestamp for Daily reset date
2023-03-13 03:31:20 +01:00
Minz da78623a05 Drop: Add Patreon muti drop/pickup support 2023-03-13 03:30:56 +01:00
Minz b4dda4b49f UserUtil: Add support for Patreon multi drop/pickup
Instead of setCooldown we now use the actionHandler to
process drops and pickups.
2023-03-13 03:28:35 +01:00
Minz 397ebde3e5 UserUtil: Add getPatreonPerks helper
and patreon debug command.
2023-03-12 20:35:14 +01:00
Minz 4c4a581a03 Collection: Fix username not showing as the title
FIXME: Find a better way to pass usernames.
2023-03-09 13:24:48 +01:00
Minz a12c0a8211 Profile: (Amend) Fix replace/encode order of custom status
Replacement happened before encoding, causing the entire status
string to be encoded, including the SVG tags themselves.
2023-03-09 12:25:48 +01:00
Minz af017bf125 Profile: encode special XML characters in usernames and descriptions
this fixes the problem of profiles not rendering when a user has
special characters such as < or > in their name or status.
We didn't implement proper sanitization considering this method of
profile rendering is going to be obsolete soon.
2023-03-09 12:14:49 +01:00
Minz c93ffee69c Drop: Increase timeout to a minute 2023-03-09 10:05:36 +01:00
Minz bb6f9e7d3f Badges: Add view/list commands and search util 2023-02-27 01:57:26 +01:00
Minz 51f8d03a69 Collection: Fix total count when grouping dupes
using array length if group is true. Fixes #47
2023-02-26 14:49:59 +01:00