Commit Graph

39 Commits

Author SHA1 Message Date
643c027ce8 Rendering: Better card debug output
- Add timestamp
- Larger font
2023-08-07 17:34:19 +02:00
d7a99968bc GeneralUtils/Profile: Shorten numbers to K M B format
- Implemented for currencies on the profile
2023-08-07 17:34:19 +02:00
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
e50449ec03 Cleanup legacy rendering code and files
also removes dockerfile and imagemagick.
2023-08-07 17:34:19 +02:00
2a4b58f7af Rendering: Reposition labels for top-aligned default 2023-08-07 17:34:19 +02:00
e1cc82eb32 Rendering: Add placeholder frame
and fix profile card alignment
2023-08-07 17:34:19 +02:00
5a31ef95fb Rendering: Hide card if it's unclaimed 2023-08-07 17:34:19 +02:00
f2ac0ed10e Rendering: Replace card stack rendering with external API call 2023-08-07 17:34:19 +02:00
6d86799e02 API: Serve static assets via express 2023-08-07 17:34:19 +02:00
189e126983 Rendering: Add configurable Jose endpoint 2023-08-07 17:34:19 +02:00
d99b8ab4d6 Rendering: WIP Replacing renderer with external API 2023-08-07 17:34:19 +02:00
a1c9f9f32e ReplyUtils: Make component recreation compatible with multi-row components 2023-04-05 16:47:13 +02:00
0f4b23b4ab Fix registration check causing duplicate acks
Registration reminders are now sent as a unique message.
We also no longer perform a registration check on autocomplete requests
2023-03-14 16:06:25 +01:00
646ef11abd Cooldown: Use Discord countdown tags for cooldowns
Closes #37
2023-03-13 16:22:07 +01:00
3a63d04af5 Daily: Implement daily rewards command 2023-03-13 12:37:44 +01:00
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
397ebde3e5 UserUtil: Add getPatreonPerks helper
and patreon debug command.
2023-03-12 20:35:14 +01:00
bb6f9e7d3f Badges: Add view/list commands and search util 2023-02-27 01:57:26 +01:00
1a5e7c1b62 View: Move search code into separate Util module 2023-02-26 18:20:50 +01:00
2ef1dfe7a7 Trade: Persist trades in the database
using atomic transactions.
If a card happens to not be owned by the trading user, the entire
trade is being rolled back.
Rollback behaviour is a bit weird though, since we have to rollback
manually even in a managed transaction.
2023-01-02 22:49:46 +01:00
78fe0857e8 CardUtils: Add helper to get one-line formatted card info 2022-11-23 17:34:01 +01:00
4d97215891 Drop: Fix cooldown formatting (fixes #15)
Formatted cooldown strings are now properly pluralized
trimmed for zero values and also include seconds.
2022-09-21 11:51:58 +02:00
54aee7624b Profile: Use sharp to prerender the profile background
including the user image. Also introduces axios as a dependency
2022-09-13 00:18:30 +02:00
cd3b50bbe2 Profile: Truncate long usernames 2022-09-12 02:33:41 +02:00
2b682fc074 Profile: Composite profile using imagemagick
by spawning an external process. Very slow but it works.
2022-09-11 23:50:43 +02:00
a4e5679d40 Rendering: Save non animated cards as png instead of gif
because gif is bloated and most stuff won't be animated
2022-09-07 22:57:19 +02:00
31b2836a45 Render: Remove default BG color from card stacks 2022-08-29 00:40:41 +02:00
de326e3cd5 Drop/Render: Fix button sorting issue
Buttons would not correspond to the correct card
in a rendered card-stack.
2022-08-28 23:27:23 +02:00
566a9c5818 Drop/Render: Add card quality
Assign random card quality on drop
Render different border colors based on quality
2022-08-28 22:52:52 +02:00
cf7c2769e3 Drop/Rendering: Move stack sorting from rendering to drop 2022-08-28 21:40:52 +02:00
8419e3f19b Fixed stack rendering 2022-08-28 21:11:46 +02:00
69cdc54c80 WIP: Card compositing 2022-08-25 23:18:01 +02:00
3f53e33598 WIP Card rendering
Render card stacks on drops
Unclaimed cards are hidden, when expired they are shown as grayscale
2022-08-20 03:35:36 +02:00
eb4ffae173 Add command permission checks
Level 0: Every user - Public commands
Level 1: Guild owners or members with respective admin role - Elevated guild commands
Level 2: Global admins - Every command including levels below
2022-08-19 19:18:01 +02:00
e21fc57f22 Add drop and pull cooldowns 2022-08-19 14:41:48 +02:00
51e90dee8a Add helper function for bot settings
and fix registration check always returning true
2022-08-19 14:14:24 +02:00
ae60732836 WIP basic card dropping 2022-08-18 19:24:44 +02:00
be2991cd50 Use sequelize 2022-04-17 15:19:12 +02:00
6eccae8721 Core bot components 2022-04-17 14:04:51 +02:00