UNPKG

@pokecord/core

Version:

Pokécord core

33 lines (29 loc) 930 B
/** * Returns pokemon data structure * @param {number} bal User balance * @param {number} redeems Amount of redeems someone has * @param {boolean} started If the user has started or not * @param {number} selected The pokémon a user has selected * @param {array of objects} pokemon Array of pokémon data * @param {boolean} blacklisted If the user is blacklisted/banned * @param {object} totalCaught The total caught pokémon object * @param {number} statistics.pokemon The total caught pokémon object * @param {number} statistics.shinies The total caught shiny pokémon object * @param {number} statistics.released The total amount of released pokémon * @returns {object} User data object */ const DataStructure = { bal: , redeems: , started: , selected: , pokemon: [], blacklisted: , statistics: { pokemon: , shinies: , released: , }, caught: [] } module.exports = DataStructure;