WIP Card rendering

Render card stacks on drops
Unclaimed cards are hidden, when expired they are shown as grayscale
This commit is contained in:
2022-08-20 03:35:36 +02:00
parent eb4ffae173
commit 3f53e33598
14 changed files with 780 additions and 20 deletions

View File

@@ -23,7 +23,7 @@ module.exports = {
bandId: 1,
name: 'Miku Kobato',
description: 'Miku Kobato is a Japanese singer, songwriter and guitarist. She is the initial founding member and main lyricist for BAND-MAID.',
imageURL: 'https://cdn.discordapp.com/attachments/851543504831119380/1009468495077048330/unknown.png',
imageIdentifier: 'bandmaid/miku.png',
enabled: true
},
{
@@ -31,7 +31,7 @@ module.exports = {
bandId: 1,
name: 'Akane Hirose',
description: 'Akane Hirose is a Japanese drummer and founding member of BAND-MAID.',
imageURL: 'https://cdn.discordapp.com/attachments/851543504831119380/1009469985296490568/unknown.png',
imageIdentifier: 'bandmaid/akane.png',
enabled: true
}]);
},

View File

@@ -0,0 +1,22 @@
'use strict';
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.bulkInsert('Users', [{
id: 1,
discordId: '123456789',
active: false,
privacy: 0,
createdAt: new Date(),
updatedAt: new Date()
}]);
},
async down (queryInterface, Sequelize) {
await queryInterface.delete('Users', {
where : {
discordId: '123456789'
}
});
}
};