Commit Graph

  • 292cd00613 Debug: Add command to alter a users experience Also added the option to pass a user mention instead of an id as the extUser parameter. Minzkraut 2022-09-12 04:03:04 +02:00
  • 9106192fd5 User: Fix type mismatch causing xp passed as a string to be appended instead of being added as an increment. Minzkraut 2022-09-12 03:58:51 +02:00
  • ed7096fac0 User: Add experience / levels Each drop and claim hands out 10 and 5 xp respectively. The profile then renders the users current level based on the formula 0.5 * sqrt(exp) Minzkraut 2022-09-12 03:37:45 +02:00
  • fb1f4b346e Profile: Update profile template Minzkraut 2022-09-12 03:12:24 +02:00
  • cd3b50bbe2 Profile: Truncate long usernames Minzkraut 2022-09-12 02:33:41 +02:00
  • b34c3e3f09 Git: Exclude cards and imports, add gitkeep for essentiqal cache folders Minzkraut 2022-09-12 00:41:35 +02:00
  • d531a3a2d3 Profile: Handle unassigned showcase slots during profile rendering Minzkraut 2022-09-12 00:34:48 +02:00
  • 2b682fc074 Profile: Composite profile using imagemagick by spawning an external process. Very slow but it works. Minzkraut 2022-09-11 23:50:43 +02:00
  • ef19697346 Docker: Add imagemagick dependency Minzkraut 2022-09-11 19:11:04 +02:00
  • 28dcb62d48 Add missing card and profile template assets Minzkraut 2022-09-09 18:06:40 +02:00
  • c537c1c9e6 Debug: Add optional userid parameter Implemented for reset_cd to allow resetting other users cooldowns Jan Groß 2022-09-09 11:36:24 +02:00
  • ff879d179d View: Add view embed Jan Groß 2022-09-08 17:30:27 +02:00
  • 6ce583c8fb Drop: Make cards claimable by other users Cards couldn't be claimed by users other than the dropper because we were using the wrong user and permissionlevel object from the upper scrope Fixes #12 Jan Groß 2022-09-08 13:24:19 +02:00
  • d8fb5d0a62 Drop: Show cooldown times in minutes instead of ms Jan Groß 2022-09-08 12:25:25 +02:00
  • fd209fbbda Docker: Fix sharp not installing due to npm cache permissions Moving the npm cache folder into the /app folder solved the permission issues Fixes #8 Jan Groß 2022-09-08 12:12:42 +02:00
  • a4e5679d40 Rendering: Save non animated cards as png instead of gif because gif is bloated and most stuff won't be animated Minzkraut 2022-09-07 22:57:19 +02:00
  • fb5faf727e Drop: Use random sorting to pick dropped characters this fixes the problem of choosing disabled cards or IDs which are not assigned to any character. Fixes #7 Minzkraut 2022-09-07 20:00:15 +02:00
  • 201417c8ba SetEnabled: Add SetEnabled command for Bands which optionally includes child Characters Minzkraut 2022-09-07 19:42:01 +02:00
  • 0a7082ac0f Import: Fix out of order import Characters are only imported after Bands have finished. This fixes foreigh key contrains failing due to missing bands. Fixes #6 Minzkraut 2022-09-07 19:04:05 +02:00
  • 307172762a [WIP] Setactive command Jan Groß 2022-09-07 18:38:01 +02:00
  • f68be35fcf Profile: Add editprofile command with basic showcase modal New values are persisted into the database Minzkraut 2022-09-07 00:25:42 +02:00
  • 7340837ed7 Events: Fix error messages not coming through if the interaction has already been deferred or replied to Minzkraut 2022-09-06 23:49:56 +02:00
  • ee12d26cc6 Seeders: Change test band/character names to avoid conflict with the actual BAND-MAID dataset Minzkraut 2022-09-05 23:29:08 +02:00
  • 1206251ff6 Profiles: Add user profile model and command Minzkraut 2022-09-05 23:22:36 +02:00
  • bba51cea2e Models/Cards: Fix errroneous data type of field userId Minzkraut 2022-09-05 22:32:17 +02:00
  • addd3d9dee Models/User: Add instance method to get counted cards with chartcers Minzkraut 2022-09-05 22:26:59 +02:00
  • 7641e12a2b README Update Minzkraut 2022-09-04 23:41:14 +02:00
  • 91e038d88e Collection: Disable prev or next buttons to avoid over/underflow during collection pagination. Minzkraut 2022-09-04 20:45:47 +02:00
  • 37414bdf7f Collection: Implement paginated embed Cards are listed in a paginated embed showing 8 cards per page Minzkraut 2022-09-01 02:28:38 +02:00
  • e1f1ad79e8 Drop: Update claim messages to show the character name once cards are revealed Minzkraut 2022-08-31 23:57:06 +02:00
  • 5d24a580d0 Remove GuildMessages gateway intent as it is not required Minzkraut 2022-08-30 23:39:49 +02:00
  • f9f7024211 DB/Characters/Bands: Add Vocaloids part 1 Minzkraut 2022-08-29 00:45:00 +02:00
  • 4d0199655c Remove cards folder from gitignore Minzkraut 2022-08-29 00:44:23 +02:00
  • 31b2836a45 Render: Remove default BG color from card stacks Minzkraut 2022-08-29 00:40:41 +02:00
  • 202ab08d6c Import: Added band and character import Use 'npm run import' to import from assets/import/{bands,characters}. Existing entries are not overwritten! Minzkraut 2022-08-29 00:33:37 +02:00
  • de326e3cd5 Drop/Render: Fix button sorting issue Buttons would not correspond to the correct card in a rendered card-stack. Minzkraut 2022-08-28 23:25:19 +02:00
  • 566a9c5818 Drop/Render: Add card quality Assign random card quality on drop Render different border colors based on quality Minzkraut 2022-08-28 22:52:52 +02:00
  • dea943bee4 Drop: Add drop history Minzkraut 2022-08-28 22:19:03 +02:00
  • cf7c2769e3 Drop/Rendering: Move stack sorting from rendering to drop Minzkraut 2022-08-28 21:40:52 +02:00
  • 6c781785c3 StackRendering: Only reveal cards once the drop expired Minzkraut 2022-08-28 21:31:15 +02:00
  • 8419e3f19b Fixed stack rendering Minzkraut 2022-08-28 21:11:46 +02:00
  • 18aeb2417d Add assets to gitattributes and gitignore Minzkraut 2022-08-28 19:44:43 +02:00
  • 2a33aca802 Placeholder assets Minzkraut 2022-08-25 23:20:52 +02:00
  • 4d383af59d Bind mount hosts fonts folder Minzkraut 2022-08-25 23:18:39 +02:00
  • 69cdc54c80 WIP: Card compositing Minzkraut 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 Minzkraut 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 Minzkraut 2022-08-19 19:18:01 +02:00
  • 6a7e3f6647 Change DB location to bind mount Minzkraut 2022-08-19 15:14:49 +02:00
  • e21fc57f22 Add drop and pull cooldowns Jan Groß 2022-08-19 14:41:48 +02:00
  • 51e90dee8a Add helper function for bot settings and fix registration check always returning true Jan Groß 2022-08-19 14:14:24 +02:00
  • ae60732836 WIP basic card dropping Jan Groß 2022-08-18 19:24:44 +02:00
  • 29e3e6de23 Configure debugging from outside the container Jan Groß 2022-08-18 19:20:22 +02:00
  • 317230c9c3 Upgrade discord.js from v13 to v14 Jan Groß 2022-08-18 11:26:51 +02:00
  • f93176a709 npm audit fixes Jan Groß 2022-08-18 10:49:19 +02:00
  • 88393e2d82 Add missing MYSQL env vars Jan Groß 2022-08-18 10:00:12 +02:00
  • 05804cb78a Updated models and migrations to new spec Jan Groß 2022-08-17 19:36:47 +02:00
  • bc075805e2 Refined draft Jan Groß 2022-08-17 11:24:43 +02:00
  • 2a10d3091b Ideas and drafts Jan Groß 2022-08-17 10:16:46 +02:00
  • cfc9e2ba6b Add card dropping and collection command Minzkraut 2022-04-17 19:39:03 +02:00
  • 9f568dbbdb Add card and character tables Minzkraut 2022-04-17 19:38:50 +02:00
  • 0419733925 Configure sequelize using config.js and sequelizerc Minzkraut 2022-04-17 16:39:56 +02:00
  • 845005bcce Remove minzbot references from .env.example Jan Groß 2022-04-17 16:13:41 +02:00
  • c0129d8bf7 Update readme Minzkraut 2022-04-17 16:12:38 +02:00
  • 3dddae6dca Basic User and Guild registration Minzkraut 2022-04-17 16:07:57 +02:00
  • be2991cd50 Use sequelize Minzkraut 2022-04-17 15:19:12 +02:00
  • 6eccae8721 Core bot components Minzkraut 2022-04-17 14:04:51 +02:00
  • 9578140125 Initial commit Minzkraut 2022-04-17 01:22:19 +02:00