UNPKG

ggejs

Version:

A powerful Node.js module for interacting with the server of Goodgame Empire & Goodgame Empire: Four Kingdoms

13 lines (12 loc) 405 B
const PrimeTime = require("../../structures/PrimeTime"); const {Events} = require("../../utils/Constants"); module.exports.name = "core_poe"; /** * @param {BaseClient} client * @param {number} errorCode * @param {Object} params */ module.exports.execute = function (client, errorCode, params) { if (!params) return; client.emit(Events.PRIME_TIME, new PrimeTime(client, params)); }