@diegofemello/bitbot-types 1.3.25 → 1.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -4
- package/dist/interfaces/commandinfo.interface.d.ts +1 -2
- package/dist/interfaces/commandinfo.interface.d.ts.map +1 -1
- package/dist/interfaces/pokemon-battle.interface.d.ts +2 -1
- package/dist/interfaces/pokemon-battle.interface.d.ts.map +1 -1
- package/dist/utils/pokemon.utils.d.ts +25 -0
- package/dist/utils/pokemon.utils.d.ts.map +1 -0
- package/dist/utils/pokemon.utils.js +46 -0
- package/package.json +1 -1
- package/dist/enum/command-index.enum.d.ts +0 -222
- package/dist/enum/command-index.enum.d.ts.map +0 -1
- package/dist/enum/command-index.enum.js +0 -225
- package/dist/utils/command.utils.d.ts +0 -22
- package/dist/utils/command.utils.d.ts.map +0 -1
- package/dist/utils/command.utils.js +0 -49
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./enum/command-index.enum";
|
|
2
1
|
export * from "./interfaces/auction-bid.interface";
|
|
3
2
|
export * from "./interfaces/auction.interface";
|
|
4
3
|
export * from "./interfaces/base.interface";
|
|
@@ -56,7 +55,7 @@ export * from "./interfaces/user.interface";
|
|
|
56
55
|
export * from "./interfaces/vendacard.interface";
|
|
57
56
|
export * from "./interfaces/wordgroup.interface";
|
|
58
57
|
export * from "./utils/card.utils";
|
|
59
|
-
export * from "./utils/
|
|
58
|
+
export * from "./utils/pokemon.utils";
|
|
60
59
|
export * from "./utils/user.utils";
|
|
61
60
|
export * from "./utils/utils";
|
|
62
61
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,
|
|
1
|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mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AAGjD,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated with direct exports
|
|
3
3
|
// Do not edit manually. Run "npm run generate-exports:direct" to regenerate.
|
|
4
|
-
// Total:
|
|
4
|
+
// Total: 60 exports
|
|
5
5
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
6
|
if (k2 === undefined) k2 = k;
|
|
7
7
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -17,8 +17,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
17
17
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
// Enums (1 files)
|
|
21
|
-
__exportStar(require("./enum/command-index.enum"), exports);
|
|
22
20
|
// Interfaces (56 files)
|
|
23
21
|
__exportStar(require("./interfaces/auction-bid.interface"), exports);
|
|
24
22
|
__exportStar(require("./interfaces/auction.interface"), exports);
|
|
@@ -78,6 +76,6 @@ __exportStar(require("./interfaces/vendacard.interface"), exports);
|
|
|
78
76
|
__exportStar(require("./interfaces/wordgroup.interface"), exports);
|
|
79
77
|
// Utility functions (4 files)
|
|
80
78
|
__exportStar(require("./utils/card.utils"), exports);
|
|
81
|
-
__exportStar(require("./utils/
|
|
79
|
+
__exportStar(require("./utils/pokemon.utils"), exports);
|
|
82
80
|
__exportStar(require("./utils/user.utils"), exports);
|
|
83
81
|
__exportStar(require("./utils/utils"), exports);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CommandIndex } from '../enum/command-index.enum';
|
|
2
1
|
import { IBase } from './base.interface';
|
|
3
2
|
export declare enum CommandType {
|
|
4
3
|
ADMIN = "admin",
|
|
@@ -52,7 +51,7 @@ export interface ICommandInfo extends IBase {
|
|
|
52
51
|
type?: CommandType;
|
|
53
52
|
subType?: CommandSubType;
|
|
54
53
|
limiteDiario?: number;
|
|
55
|
-
commandIndex?:
|
|
54
|
+
commandIndex?: string;
|
|
56
55
|
textMaximum?: string;
|
|
57
56
|
onlyGroupAdmin?: boolean;
|
|
58
57
|
onlyAdmin?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandinfo.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/commandinfo.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"commandinfo.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/commandinfo.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,EAAE,OAAO;IACT,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,cAAc,aAAa;IAC3B,aAAa,YAAY;IACzB,UAAU,SAAS;IACnB,QAAQ,OAAO;IACf,gBAAgB,eAAe;IAC/B,gBAAgB,eAAe;IAC/B,WAAW,U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Ae,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC"}
|
|
@@ -2,6 +2,7 @@ export interface BattleRoom {
|
|
|
2
2
|
id: string;
|
|
3
3
|
status: 'waiting' | 'team-preview' | 'ongoing' | 'finished';
|
|
4
4
|
format: string;
|
|
5
|
+
maxTeamSize: number;
|
|
5
6
|
players: {
|
|
6
7
|
p1: {
|
|
7
8
|
contactId: string;
|
|
@@ -137,7 +138,7 @@ export interface EnrichedMove {
|
|
|
137
138
|
typeColor: string;
|
|
138
139
|
categoryIcon: string;
|
|
139
140
|
}
|
|
140
|
-
export interface
|
|
141
|
+
export interface BattleOptions {
|
|
141
142
|
playerId: 'p1' | 'p2';
|
|
142
143
|
canAct: boolean;
|
|
143
144
|
activePokemon: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pokemon-battle.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/pokemon-battle.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,UAAU,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE;QACP,EAAE,EAAE;YACF,SAAS,EAAE,MAAM,CAAC;YAClB,IAAI,EAAE,MAAM,CAAC;YACb,IAAI,EAAE,MAAM,EAAE,CAAC;YACf,YAAY,EAAE,MAAM,EAAE,CAAC;YACvB,KAAK,EAAE,OAAO,CAAC;YACf,aAAa,EAAE,GAAG,CAAC;YACnB,SAAS,EAAE,GAAG,EAAE,CAAC;YACjB,QAAQ,C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;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE;QACP,EAAE,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;QACrC,EAAE,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;KACtC,CAAC;IACF,MAAM,EAAE,KAAK,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,IAAI,CAAC;KACjB,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"pokemon-battle.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/pokemon-battle.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,UAAU,CAA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AC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,GAAG,CAAC;IACnB,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B,iBAAiB,EAAE,GAAG,EAAE,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;CACH"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum COLOR_POKEMON_TYPE {
|
|
2
|
+
Inseto = "#A8B820",
|
|
3
|
+
Sombrio = "#32404d",
|
|
4
|
+
Dragão = "#7038F8",
|
|
5
|
+
Elétrico = "#F8D030",
|
|
6
|
+
Fada = "#EE99AC",
|
|
7
|
+
Lutador = "#C03028",
|
|
8
|
+
Fogo = "#F08030",
|
|
9
|
+
Voador = "#A890F0",
|
|
10
|
+
Fantasma = "#705898",
|
|
11
|
+
Planta = "#78C850",
|
|
12
|
+
Terrestre = "#E0C068",
|
|
13
|
+
Gelo = "#98D8D8",
|
|
14
|
+
Normal = "#A8A878",
|
|
15
|
+
Venenoso = "#A040A0",
|
|
16
|
+
Psíquico = "#F85888",
|
|
17
|
+
Pedra = "#B8A038",
|
|
18
|
+
Aço = "#B8B8D0",
|
|
19
|
+
Água = "#6890F0"
|
|
20
|
+
}
|
|
21
|
+
export declare function getBackgroundPoke(types?: any[]): {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
export declare function getColorForType(type: keyof typeof COLOR_POKEMON_TYPE): string;
|
|
25
|
+
//# sourceMappingURL=pokemon.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pokemon.utils.d.ts","sourceRoot":"","sources":["../../src/utils/pokemon.utils.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,MAAM,YAAY;IAClB,OAAO,YAAY;IACnB,MAAM,YAAY;IAClB,QAAQ,YAAY;IACpB,IAAI,YAAY;IAChB,OAAO,YAAY;IACnB,IAAI,YAAY;IAChB,MAAM,YAAY;IAClB,QAAQ,YAAY;IACpB,MAAM,YAAY;IAClB,SAAS,YAAY;IACrB,IAAI,YAAY;IAChB,MAAM,YAAY;IAClB,QAAQ,YAAY;IACpB,QAAQ,YAAY;IACpB,KAAK,YAAY;IACjB,GAAG,YAAY;IACf,IAAI,YAAY;CACjB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,GAAE,GAAG,EAAO,GAAG;IACpD,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAkBA;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,OAAO,kBAAkB,GAAG,MAAM,CAE7E"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COLOR_POKEMON_TYPE = void 0;
|
|
4
|
+
exports.getBackgroundPoke = getBackgroundPoke;
|
|
5
|
+
exports.getColorForType = getColorForType;
|
|
6
|
+
var COLOR_POKEMON_TYPE;
|
|
7
|
+
(function (COLOR_POKEMON_TYPE) {
|
|
8
|
+
COLOR_POKEMON_TYPE["Inseto"] = "#A8B820";
|
|
9
|
+
COLOR_POKEMON_TYPE["Sombrio"] = "#32404d";
|
|
10
|
+
COLOR_POKEMON_TYPE["Drag\u00E3o"] = "#7038F8";
|
|
11
|
+
COLOR_POKEMON_TYPE["El\u00E9trico"] = "#F8D030";
|
|
12
|
+
COLOR_POKEMON_TYPE["Fada"] = "#EE99AC";
|
|
13
|
+
COLOR_POKEMON_TYPE["Lutador"] = "#C03028";
|
|
14
|
+
COLOR_POKEMON_TYPE["Fogo"] = "#F08030";
|
|
15
|
+
COLOR_POKEMON_TYPE["Voador"] = "#A890F0";
|
|
16
|
+
COLOR_POKEMON_TYPE["Fantasma"] = "#705898";
|
|
17
|
+
COLOR_POKEMON_TYPE["Planta"] = "#78C850";
|
|
18
|
+
COLOR_POKEMON_TYPE["Terrestre"] = "#E0C068";
|
|
19
|
+
COLOR_POKEMON_TYPE["Gelo"] = "#98D8D8";
|
|
20
|
+
COLOR_POKEMON_TYPE["Normal"] = "#A8A878";
|
|
21
|
+
COLOR_POKEMON_TYPE["Venenoso"] = "#A040A0";
|
|
22
|
+
COLOR_POKEMON_TYPE["Ps\u00EDquico"] = "#F85888";
|
|
23
|
+
COLOR_POKEMON_TYPE["Pedra"] = "#B8A038";
|
|
24
|
+
COLOR_POKEMON_TYPE["A\u00E7o"] = "#B8B8D0";
|
|
25
|
+
COLOR_POKEMON_TYPE["\u00C1gua"] = "#6890F0";
|
|
26
|
+
})(COLOR_POKEMON_TYPE || (exports.COLOR_POKEMON_TYPE = COLOR_POKEMON_TYPE = {}));
|
|
27
|
+
function getBackgroundPoke(types = []) {
|
|
28
|
+
if (!types?.length) {
|
|
29
|
+
return {
|
|
30
|
+
'background-color': '#D3D3D3',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
if (types?.length > 1) {
|
|
34
|
+
const color1 = getColorForType(types[0] || '#D3D3D3');
|
|
35
|
+
const color2 = getColorForType(types[1] || '#D3D3D3');
|
|
36
|
+
return {
|
|
37
|
+
'background-image': `linear-gradient(135deg, ${color1} 50%, ${color2} 50%)`,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'background-color': getColorForType(types?.[0]) || '#D3D3D3',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function getColorForType(type) {
|
|
45
|
+
return COLOR_POKEMON_TYPE[type] || '#D3D3D3';
|
|
46
|
+
}
|
package/package.json
CHANGED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
export declare enum CommandIndex {
|
|
2
|
-
abracar = "abracar",
|
|
3
|
-
addgrupo = "addgrupo",
|
|
4
|
-
addsorteio = "addsorteio",
|
|
5
|
-
addwish = "addwish",
|
|
6
|
-
adedonha = "adedonha",
|
|
7
|
-
adms = "adms",
|
|
8
|
-
adv = "adv",
|
|
9
|
-
afake = "afake",
|
|
10
|
-
aflood = "aflood",
|
|
11
|
-
alink = "alink",
|
|
12
|
-
almocar = "almocar",
|
|
13
|
-
aniversario = "aniversario",
|
|
14
|
-
anunciarcard = "anunciarcard",
|
|
15
|
-
anunciopoke = "anunciopoke",
|
|
16
|
-
apg = "apg",
|
|
17
|
-
ativarcmdpv = "ativarcmdpv",
|
|
18
|
-
atividade = "atividade",
|
|
19
|
-
atkpoke = "atkpoke",
|
|
20
|
-
atkraid = "atkraid",
|
|
21
|
-
atrava = "atrava",
|
|
22
|
-
audio = "audio",
|
|
23
|
-
autoclear = "autoclear",
|
|
24
|
-
autosticker = "autosticker",
|
|
25
|
-
autostickerpv = "autostickerpv",
|
|
26
|
-
autotranscribe = "autotranscribe",
|
|
27
|
-
auxilio = "auxilio",
|
|
28
|
-
ban = "ban",
|
|
29
|
-
bantodos = "bantodos",
|
|
30
|
-
bccontatos = "bccontatos",
|
|
31
|
-
bcgrupos = "bcgrupos",
|
|
32
|
-
bcmd = "bcmd",
|
|
33
|
-
bcmdglobal = "bcmdglobal",
|
|
34
|
-
bicho = "bicho",
|
|
35
|
-
bingo = "bingo",
|
|
36
|
-
biscoito = "biscoito",
|
|
37
|
-
bitblaze = "bitblaze",
|
|
38
|
-
blista = "blista",
|
|
39
|
-
blockfinancy = "blockfinancy",
|
|
40
|
-
bloquear = "bloquear",
|
|
41
|
-
bonuscard = "bonuscard",
|
|
42
|
-
bot = "bot",
|
|
43
|
-
bv = "bv",
|
|
44
|
-
cancelaranuncio = "cancelaranuncio",
|
|
45
|
-
cancelartradepoke = "cancelartradepoke",
|
|
46
|
-
canevolve = "canevolve",
|
|
47
|
-
canfuse = "canfuse",
|
|
48
|
-
capturar = "capturar",
|
|
49
|
-
caracoroa = "caracoroa",
|
|
50
|
-
cardnews = "cardnews",
|
|
51
|
-
cards = "cards",
|
|
52
|
-
casal = "casal",
|
|
53
|
-
chance = "chance",
|
|
54
|
-
clima = "clima",
|
|
55
|
-
comprarcard = "comprarcard",
|
|
56
|
-
comprarovo = "comprarovo",
|
|
57
|
-
comprarslot = "comprarslot",
|
|
58
|
-
comunidade = "comunidade",
|
|
59
|
-
contador = "contador",
|
|
60
|
-
cotacao = "cotacao",
|
|
61
|
-
criartorneio = "criartorneio",
|
|
62
|
-
dado = "dado",
|
|
63
|
-
dcmd = "dcmd",
|
|
64
|
-
dcmdglobal = "dcmdglobal",
|
|
65
|
-
ddd = "ddd",
|
|
66
|
-
delsorteio = "delsorteio",
|
|
67
|
-
desbloquear = "desbloquear",
|
|
68
|
-
descartarcard = "descartarcard",
|
|
69
|
-
descartaritem = "descartaritem",
|
|
70
|
-
descartarpoke = "descartarpoke",
|
|
71
|
-
desfazerfusao = "desfazerfusao",
|
|
72
|
-
desligar = "desligar",
|
|
73
|
-
detector = "detector",
|
|
74
|
-
dicionario = "dicionario",
|
|
75
|
-
dlista = "dlista",
|
|
76
|
-
doarcard = "doarcard",
|
|
77
|
-
doaritem = "doaritem",
|
|
78
|
-
doarpoke = "doarpoke",
|
|
79
|
-
dono = "dono",
|
|
80
|
-
emojimix = "emojimix",
|
|
81
|
-
entrargrupo = "entrargrupo",
|
|
82
|
-
evoluir = "evoluir",
|
|
83
|
-
excluirjogo = "excluirjogo",
|
|
84
|
-
fav = "fav",
|
|
85
|
-
fechar = "fechar",
|
|
86
|
-
findimgs = "findimgs",
|
|
87
|
-
fixar = "fixar",
|
|
88
|
-
forbes = "forbes",
|
|
89
|
-
forcar = "forcar",
|
|
90
|
-
forja = "forja",
|
|
91
|
-
forjaitem = "forjaitem",
|
|
92
|
-
fusaocard = "fusaocard",
|
|
93
|
-
gadometro = "gadometro",
|
|
94
|
-
gen = "gen",
|
|
95
|
-
grpinfo = "grpinfo",
|
|
96
|
-
horoscopo = "horoscopo",
|
|
97
|
-
ibanir = "ibanir",
|
|
98
|
-
ignoreon = "ignoreon",
|
|
99
|
-
imarcar = "imarcar",
|
|
100
|
-
inventario = "inventario",
|
|
101
|
-
invitebot = "invitebot",
|
|
102
|
-
iteminfo = "iteminfo",
|
|
103
|
-
kids = "kids",
|
|
104
|
-
lalala = "lalala",
|
|
105
|
-
leilao = "leilao",
|
|
106
|
-
limpar = "limpar",
|
|
107
|
-
link = "link",
|
|
108
|
-
linkdiscord = "linkdiscord",
|
|
109
|
-
listablock = "listablock",
|
|
110
|
-
listanegra = "listanegra",
|
|
111
|
-
lojabot = "lojabot",
|
|
112
|
-
lojamembros = "lojamembros",
|
|
113
|
-
lutapokemon = "lutapokemon",
|
|
114
|
-
matoumatou = "matoumatou",
|
|
115
|
-
maxadv = "maxadv",
|
|
116
|
-
megasena = "megasena",
|
|
117
|
-
menu = "menu",
|
|
118
|
-
menupadrao = "menupadrao",
|
|
119
|
-
mistura = "mistura",
|
|
120
|
-
mods = "mods",
|
|
121
|
-
mt = "mt",
|
|
122
|
-
mutar = "mutar",
|
|
123
|
-
needpay = "needpay",
|
|
124
|
-
newrpg = "newrpg",
|
|
125
|
-
nivelrespostabot = "nivelrespostabot",
|
|
126
|
-
noforbes = "noforbes",
|
|
127
|
-
notapara = "notapara",
|
|
128
|
-
novojogo = "novojogo",
|
|
129
|
-
oqueoque = "oqueoque",
|
|
130
|
-
par = "par",
|
|
131
|
-
participantesbicho = "participantesbicho",
|
|
132
|
-
participantesbingo = "participantesbingo",
|
|
133
|
-
personalidade = "personalidade",
|
|
134
|
-
pesquisa = "pesquisa",
|
|
135
|
-
ping = "ping",
|
|
136
|
-
pix = "pix",
|
|
137
|
-
pjogo = "pjogo",
|
|
138
|
-
pokedex = "pokedex",
|
|
139
|
-
pokestore = "pokestore",
|
|
140
|
-
ppt = "ppt",
|
|
141
|
-
presente = "presente",
|
|
142
|
-
procurado = "procurado",
|
|
143
|
-
promover = "promover",
|
|
144
|
-
purificar = "purificar",
|
|
145
|
-
qcard = "qcard",
|
|
146
|
-
qemoji = "qemoji",
|
|
147
|
-
qimg = "qimg",
|
|
148
|
-
qpkm = "qpkm",
|
|
149
|
-
quizr = "quizr",
|
|
150
|
-
radv = "radv",
|
|
151
|
-
rankingjogo = "rankingjogo",
|
|
152
|
-
rebaixar = "rebaixar",
|
|
153
|
-
regras = "regras",
|
|
154
|
-
removeuserjogo = "removeuserjogo",
|
|
155
|
-
resetarsorteio = "resetarsorteio",
|
|
156
|
-
rmfav = "rmfav",
|
|
157
|
-
rmod = "rmod",
|
|
158
|
-
rmwish = "rmwish",
|
|
159
|
-
roqueoquer = "roqueoquer",
|
|
160
|
-
rpg = "rpg",
|
|
161
|
-
rpokebattler = "rpokebattler",
|
|
162
|
-
rqcardr = "rqcardr",
|
|
163
|
-
rqemojir = "rqemojir",
|
|
164
|
-
rqimgr = "rqimgr",
|
|
165
|
-
rqpkmr = "rqpkmr",
|
|
166
|
-
rrmisturar = "rrmisturar",
|
|
167
|
-
s = "s",
|
|
168
|
-
safemode = "safemode",
|
|
169
|
-
sair = "sair",
|
|
170
|
-
saldo = "saldo",
|
|
171
|
-
screenshot = "screenshot",
|
|
172
|
-
setdev = "setdev",
|
|
173
|
-
setfoto = "setfoto",
|
|
174
|
-
setmod = "setmod",
|
|
175
|
-
setsenha = "setsenha",
|
|
176
|
-
setvip = "setvip",
|
|
177
|
-
sextou = "sextou",
|
|
178
|
-
shitpost = "shitpost",
|
|
179
|
-
simg = "simg",
|
|
180
|
-
sortearnumero = "sortearnumero",
|
|
181
|
-
sorteartodos = "sorteartodos",
|
|
182
|
-
sorteiostatus = "sorteiostatus",
|
|
183
|
-
spoiler = "spoiler",
|
|
184
|
-
startforca = "startforca",
|
|
185
|
-
startquiz = "startquiz",
|
|
186
|
-
starttradepoke = "starttradepoke",
|
|
187
|
-
status = "status",
|
|
188
|
-
statusbicho = "statusbicho",
|
|
189
|
-
statusbingo = "statusbingo",
|
|
190
|
-
stkpoke = "stkpoke",
|
|
191
|
-
stop = "stop",
|
|
192
|
-
sugestao = "sugestao",
|
|
193
|
-
summonpoke = "summonpoke",
|
|
194
|
-
surpresa = "surpresa",
|
|
195
|
-
swap = "swap",
|
|
196
|
-
sync = "sync",
|
|
197
|
-
system = "system",
|
|
198
|
-
tarot = "tarot",
|
|
199
|
-
terastalizar = "terastalizar",
|
|
200
|
-
toimg = "toimg",
|
|
201
|
-
top5 = "top5",
|
|
202
|
-
topmembros = "topmembros",
|
|
203
|
-
torneio = "torneio",
|
|
204
|
-
totalinfo = "totalinfo",
|
|
205
|
-
tradepoke = "tradepoke",
|
|
206
|
-
traduz = "traduz",
|
|
207
|
-
trainermode = "trainermode",
|
|
208
|
-
transcrever = "transcrever",
|
|
209
|
-
trocarpontos = "trocarpontos",
|
|
210
|
-
updatephotos = "updatephotos",
|
|
211
|
-
useitem = "useitem",
|
|
212
|
-
var = "var",
|
|
213
|
-
velha = "velha",
|
|
214
|
-
vendercardadm = "vendercardadm",
|
|
215
|
-
viadometro = "viadometro",
|
|
216
|
-
vip = "vip",
|
|
217
|
-
voz = "voz",
|
|
218
|
-
wishes = "wishes",
|
|
219
|
-
yt = "yt",
|
|
220
|
-
zeraradv = "zeraradv"
|
|
221
|
-
}
|
|
222
|
-
//# sourceMappingURL=command-index.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-index.enum.d.ts","sourceRoot":"","sources":["../../src/enum/command-index.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAA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C3B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,EAAE,OAAO;IACT,QAAQ,aAAa;CACtB"}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CommandIndex = void 0;
|
|
4
|
-
var CommandIndex;
|
|
5
|
-
(function (CommandIndex) {
|
|
6
|
-
CommandIndex["abracar"] = "abracar";
|
|
7
|
-
CommandIndex["addgrupo"] = "addgrupo";
|
|
8
|
-
CommandIndex["addsorteio"] = "addsorteio";
|
|
9
|
-
CommandIndex["addwish"] = "addwish";
|
|
10
|
-
CommandIndex["adedonha"] = "adedonha";
|
|
11
|
-
CommandIndex["adms"] = "adms";
|
|
12
|
-
CommandIndex["adv"] = "adv";
|
|
13
|
-
CommandIndex["afake"] = "afake";
|
|
14
|
-
CommandIndex["aflood"] = "aflood";
|
|
15
|
-
CommandIndex["alink"] = "alink";
|
|
16
|
-
CommandIndex["almocar"] = "almocar";
|
|
17
|
-
CommandIndex["aniversario"] = "aniversario";
|
|
18
|
-
CommandIndex["anunciarcard"] = "anunciarcard";
|
|
19
|
-
CommandIndex["anunciopoke"] = "anunciopoke";
|
|
20
|
-
CommandIndex["apg"] = "apg";
|
|
21
|
-
CommandIndex["ativarcmdpv"] = "ativarcmdpv";
|
|
22
|
-
CommandIndex["atividade"] = "atividade";
|
|
23
|
-
CommandIndex["atkpoke"] = "atkpoke";
|
|
24
|
-
CommandIndex["atkraid"] = "atkraid";
|
|
25
|
-
CommandIndex["atrava"] = "atrava";
|
|
26
|
-
CommandIndex["audio"] = "audio";
|
|
27
|
-
CommandIndex["autoclear"] = "autoclear";
|
|
28
|
-
CommandIndex["autosticker"] = "autosticker";
|
|
29
|
-
CommandIndex["autostickerpv"] = "autostickerpv";
|
|
30
|
-
CommandIndex["autotranscribe"] = "autotranscribe";
|
|
31
|
-
CommandIndex["auxilio"] = "auxilio";
|
|
32
|
-
CommandIndex["ban"] = "ban";
|
|
33
|
-
CommandIndex["bantodos"] = "bantodos";
|
|
34
|
-
CommandIndex["bccontatos"] = "bccontatos";
|
|
35
|
-
CommandIndex["bcgrupos"] = "bcgrupos";
|
|
36
|
-
CommandIndex["bcmd"] = "bcmd";
|
|
37
|
-
CommandIndex["bcmdglobal"] = "bcmdglobal";
|
|
38
|
-
CommandIndex["bicho"] = "bicho";
|
|
39
|
-
CommandIndex["bingo"] = "bingo";
|
|
40
|
-
CommandIndex["biscoito"] = "biscoito";
|
|
41
|
-
CommandIndex["bitblaze"] = "bitblaze";
|
|
42
|
-
CommandIndex["blista"] = "blista";
|
|
43
|
-
CommandIndex["blockfinancy"] = "blockfinancy";
|
|
44
|
-
CommandIndex["bloquear"] = "bloquear";
|
|
45
|
-
CommandIndex["bonuscard"] = "bonuscard";
|
|
46
|
-
CommandIndex["bot"] = "bot";
|
|
47
|
-
CommandIndex["bv"] = "bv";
|
|
48
|
-
CommandIndex["cancelaranuncio"] = "cancelaranuncio";
|
|
49
|
-
CommandIndex["cancelartradepoke"] = "cancelartradepoke";
|
|
50
|
-
CommandIndex["canevolve"] = "canevolve";
|
|
51
|
-
CommandIndex["canfuse"] = "canfuse";
|
|
52
|
-
CommandIndex["capturar"] = "capturar";
|
|
53
|
-
CommandIndex["caracoroa"] = "caracoroa";
|
|
54
|
-
CommandIndex["cardnews"] = "cardnews";
|
|
55
|
-
CommandIndex["cards"] = "cards";
|
|
56
|
-
CommandIndex["casal"] = "casal";
|
|
57
|
-
CommandIndex["chance"] = "chance";
|
|
58
|
-
CommandIndex["clima"] = "clima";
|
|
59
|
-
CommandIndex["comprarcard"] = "comprarcard";
|
|
60
|
-
CommandIndex["comprarovo"] = "comprarovo";
|
|
61
|
-
CommandIndex["comprarslot"] = "comprarslot";
|
|
62
|
-
CommandIndex["comunidade"] = "comunidade";
|
|
63
|
-
CommandIndex["contador"] = "contador";
|
|
64
|
-
CommandIndex["cotacao"] = "cotacao";
|
|
65
|
-
CommandIndex["criartorneio"] = "criartorneio";
|
|
66
|
-
CommandIndex["dado"] = "dado";
|
|
67
|
-
CommandIndex["dcmd"] = "dcmd";
|
|
68
|
-
CommandIndex["dcmdglobal"] = "dcmdglobal";
|
|
69
|
-
CommandIndex["ddd"] = "ddd";
|
|
70
|
-
CommandIndex["delsorteio"] = "delsorteio";
|
|
71
|
-
CommandIndex["desbloquear"] = "desbloquear";
|
|
72
|
-
CommandIndex["descartarcard"] = "descartarcard";
|
|
73
|
-
CommandIndex["descartaritem"] = "descartaritem";
|
|
74
|
-
CommandIndex["descartarpoke"] = "descartarpoke";
|
|
75
|
-
CommandIndex["desfazerfusao"] = "desfazerfusao";
|
|
76
|
-
CommandIndex["desligar"] = "desligar";
|
|
77
|
-
CommandIndex["detector"] = "detector";
|
|
78
|
-
CommandIndex["dicionario"] = "dicionario";
|
|
79
|
-
CommandIndex["dlista"] = "dlista";
|
|
80
|
-
CommandIndex["doarcard"] = "doarcard";
|
|
81
|
-
CommandIndex["doaritem"] = "doaritem";
|
|
82
|
-
CommandIndex["doarpoke"] = "doarpoke";
|
|
83
|
-
CommandIndex["dono"] = "dono";
|
|
84
|
-
CommandIndex["emojimix"] = "emojimix";
|
|
85
|
-
CommandIndex["entrargrupo"] = "entrargrupo";
|
|
86
|
-
CommandIndex["evoluir"] = "evoluir";
|
|
87
|
-
CommandIndex["excluirjogo"] = "excluirjogo";
|
|
88
|
-
CommandIndex["fav"] = "fav";
|
|
89
|
-
CommandIndex["fechar"] = "fechar";
|
|
90
|
-
CommandIndex["findimgs"] = "findimgs";
|
|
91
|
-
CommandIndex["fixar"] = "fixar";
|
|
92
|
-
CommandIndex["forbes"] = "forbes";
|
|
93
|
-
CommandIndex["forcar"] = "forcar";
|
|
94
|
-
CommandIndex["forja"] = "forja";
|
|
95
|
-
CommandIndex["forjaitem"] = "forjaitem";
|
|
96
|
-
CommandIndex["fusaocard"] = "fusaocard";
|
|
97
|
-
CommandIndex["gadometro"] = "gadometro";
|
|
98
|
-
CommandIndex["gen"] = "gen";
|
|
99
|
-
CommandIndex["grpinfo"] = "grpinfo";
|
|
100
|
-
CommandIndex["horoscopo"] = "horoscopo";
|
|
101
|
-
CommandIndex["ibanir"] = "ibanir";
|
|
102
|
-
CommandIndex["ignoreon"] = "ignoreon";
|
|
103
|
-
CommandIndex["imarcar"] = "imarcar";
|
|
104
|
-
CommandIndex["inventario"] = "inventario";
|
|
105
|
-
CommandIndex["invitebot"] = "invitebot";
|
|
106
|
-
CommandIndex["iteminfo"] = "iteminfo";
|
|
107
|
-
CommandIndex["kids"] = "kids";
|
|
108
|
-
CommandIndex["lalala"] = "lalala";
|
|
109
|
-
CommandIndex["leilao"] = "leilao";
|
|
110
|
-
CommandIndex["limpar"] = "limpar";
|
|
111
|
-
CommandIndex["link"] = "link";
|
|
112
|
-
CommandIndex["linkdiscord"] = "linkdiscord";
|
|
113
|
-
CommandIndex["listablock"] = "listablock";
|
|
114
|
-
CommandIndex["listanegra"] = "listanegra";
|
|
115
|
-
CommandIndex["lojabot"] = "lojabot";
|
|
116
|
-
CommandIndex["lojamembros"] = "lojamembros";
|
|
117
|
-
CommandIndex["lutapokemon"] = "lutapokemon";
|
|
118
|
-
CommandIndex["matoumatou"] = "matoumatou";
|
|
119
|
-
CommandIndex["maxadv"] = "maxadv";
|
|
120
|
-
CommandIndex["megasena"] = "megasena";
|
|
121
|
-
CommandIndex["menu"] = "menu";
|
|
122
|
-
CommandIndex["menupadrao"] = "menupadrao";
|
|
123
|
-
CommandIndex["mistura"] = "mistura";
|
|
124
|
-
CommandIndex["mods"] = "mods";
|
|
125
|
-
CommandIndex["mt"] = "mt";
|
|
126
|
-
CommandIndex["mutar"] = "mutar";
|
|
127
|
-
CommandIndex["needpay"] = "needpay";
|
|
128
|
-
CommandIndex["newrpg"] = "newrpg";
|
|
129
|
-
CommandIndex["nivelrespostabot"] = "nivelrespostabot";
|
|
130
|
-
CommandIndex["noforbes"] = "noforbes";
|
|
131
|
-
CommandIndex["notapara"] = "notapara";
|
|
132
|
-
CommandIndex["novojogo"] = "novojogo";
|
|
133
|
-
CommandIndex["oqueoque"] = "oqueoque";
|
|
134
|
-
CommandIndex["par"] = "par";
|
|
135
|
-
CommandIndex["participantesbicho"] = "participantesbicho";
|
|
136
|
-
CommandIndex["participantesbingo"] = "participantesbingo";
|
|
137
|
-
CommandIndex["personalidade"] = "personalidade";
|
|
138
|
-
CommandIndex["pesquisa"] = "pesquisa";
|
|
139
|
-
CommandIndex["ping"] = "ping";
|
|
140
|
-
CommandIndex["pix"] = "pix";
|
|
141
|
-
CommandIndex["pjogo"] = "pjogo";
|
|
142
|
-
CommandIndex["pokedex"] = "pokedex";
|
|
143
|
-
CommandIndex["pokestore"] = "pokestore";
|
|
144
|
-
CommandIndex["ppt"] = "ppt";
|
|
145
|
-
CommandIndex["presente"] = "presente";
|
|
146
|
-
CommandIndex["procurado"] = "procurado";
|
|
147
|
-
CommandIndex["promover"] = "promover";
|
|
148
|
-
CommandIndex["purificar"] = "purificar";
|
|
149
|
-
CommandIndex["qcard"] = "qcard";
|
|
150
|
-
CommandIndex["qemoji"] = "qemoji";
|
|
151
|
-
CommandIndex["qimg"] = "qimg";
|
|
152
|
-
CommandIndex["qpkm"] = "qpkm";
|
|
153
|
-
CommandIndex["quizr"] = "quizr";
|
|
154
|
-
CommandIndex["radv"] = "radv";
|
|
155
|
-
CommandIndex["rankingjogo"] = "rankingjogo";
|
|
156
|
-
CommandIndex["rebaixar"] = "rebaixar";
|
|
157
|
-
CommandIndex["regras"] = "regras";
|
|
158
|
-
CommandIndex["removeuserjogo"] = "removeuserjogo";
|
|
159
|
-
CommandIndex["resetarsorteio"] = "resetarsorteio";
|
|
160
|
-
CommandIndex["rmfav"] = "rmfav";
|
|
161
|
-
CommandIndex["rmod"] = "rmod";
|
|
162
|
-
CommandIndex["rmwish"] = "rmwish";
|
|
163
|
-
CommandIndex["roqueoquer"] = "roqueoquer";
|
|
164
|
-
CommandIndex["rpg"] = "rpg";
|
|
165
|
-
CommandIndex["rpokebattler"] = "rpokebattler";
|
|
166
|
-
CommandIndex["rqcardr"] = "rqcardr";
|
|
167
|
-
CommandIndex["rqemojir"] = "rqemojir";
|
|
168
|
-
CommandIndex["rqimgr"] = "rqimgr";
|
|
169
|
-
CommandIndex["rqpkmr"] = "rqpkmr";
|
|
170
|
-
CommandIndex["rrmisturar"] = "rrmisturar";
|
|
171
|
-
CommandIndex["s"] = "s";
|
|
172
|
-
CommandIndex["safemode"] = "safemode";
|
|
173
|
-
CommandIndex["sair"] = "sair";
|
|
174
|
-
CommandIndex["saldo"] = "saldo";
|
|
175
|
-
CommandIndex["screenshot"] = "screenshot";
|
|
176
|
-
CommandIndex["setdev"] = "setdev";
|
|
177
|
-
CommandIndex["setfoto"] = "setfoto";
|
|
178
|
-
CommandIndex["setmod"] = "setmod";
|
|
179
|
-
CommandIndex["setsenha"] = "setsenha";
|
|
180
|
-
CommandIndex["setvip"] = "setvip";
|
|
181
|
-
CommandIndex["sextou"] = "sextou";
|
|
182
|
-
CommandIndex["shitpost"] = "shitpost";
|
|
183
|
-
CommandIndex["simg"] = "simg";
|
|
184
|
-
CommandIndex["sortearnumero"] = "sortearnumero";
|
|
185
|
-
CommandIndex["sorteartodos"] = "sorteartodos";
|
|
186
|
-
CommandIndex["sorteiostatus"] = "sorteiostatus";
|
|
187
|
-
CommandIndex["spoiler"] = "spoiler";
|
|
188
|
-
CommandIndex["startforca"] = "startforca";
|
|
189
|
-
CommandIndex["startquiz"] = "startquiz";
|
|
190
|
-
CommandIndex["starttradepoke"] = "starttradepoke";
|
|
191
|
-
CommandIndex["status"] = "status";
|
|
192
|
-
CommandIndex["statusbicho"] = "statusbicho";
|
|
193
|
-
CommandIndex["statusbingo"] = "statusbingo";
|
|
194
|
-
CommandIndex["stkpoke"] = "stkpoke";
|
|
195
|
-
CommandIndex["stop"] = "stop";
|
|
196
|
-
CommandIndex["sugestao"] = "sugestao";
|
|
197
|
-
CommandIndex["summonpoke"] = "summonpoke";
|
|
198
|
-
CommandIndex["surpresa"] = "surpresa";
|
|
199
|
-
CommandIndex["swap"] = "swap";
|
|
200
|
-
CommandIndex["sync"] = "sync";
|
|
201
|
-
CommandIndex["system"] = "system";
|
|
202
|
-
CommandIndex["tarot"] = "tarot";
|
|
203
|
-
CommandIndex["terastalizar"] = "terastalizar";
|
|
204
|
-
CommandIndex["toimg"] = "toimg";
|
|
205
|
-
CommandIndex["top5"] = "top5";
|
|
206
|
-
CommandIndex["topmembros"] = "topmembros";
|
|
207
|
-
CommandIndex["torneio"] = "torneio";
|
|
208
|
-
CommandIndex["totalinfo"] = "totalinfo";
|
|
209
|
-
CommandIndex["tradepoke"] = "tradepoke";
|
|
210
|
-
CommandIndex["traduz"] = "traduz";
|
|
211
|
-
CommandIndex["trainermode"] = "trainermode";
|
|
212
|
-
CommandIndex["transcrever"] = "transcrever";
|
|
213
|
-
CommandIndex["trocarpontos"] = "trocarpontos";
|
|
214
|
-
CommandIndex["updatephotos"] = "updatephotos";
|
|
215
|
-
CommandIndex["useitem"] = "useitem";
|
|
216
|
-
CommandIndex["var"] = "var";
|
|
217
|
-
CommandIndex["velha"] = "velha";
|
|
218
|
-
CommandIndex["vendercardadm"] = "vendercardadm";
|
|
219
|
-
CommandIndex["viadometro"] = "viadometro";
|
|
220
|
-
CommandIndex["vip"] = "vip";
|
|
221
|
-
CommandIndex["voz"] = "voz";
|
|
222
|
-
CommandIndex["wishes"] = "wishes";
|
|
223
|
-
CommandIndex["yt"] = "yt";
|
|
224
|
-
CommandIndex["zeraradv"] = "zeraradv";
|
|
225
|
-
})(CommandIndex || (exports.CommandIndex = CommandIndex = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CommandIndex } from '../enum/command-index.enum';
|
|
2
|
-
/**
|
|
3
|
-
* Função utilitária para logar execução de comandos
|
|
4
|
-
* @param command - Comando executado
|
|
5
|
-
* @param userId - ID do usuário que executou
|
|
6
|
-
* @param success - Se o comando foi executado com sucesso
|
|
7
|
-
*/
|
|
8
|
-
export declare function logCommandExecution(command: CommandIndex, userId: string, success?: boolean): void;
|
|
9
|
-
/**
|
|
10
|
-
* Verifica se um comando é relacionado a jogos
|
|
11
|
-
* @param command - Comando a ser verificado
|
|
12
|
-
* @returns true se é um comando de jogo
|
|
13
|
-
*/
|
|
14
|
-
export declare function isGameCommand(command: CommandIndex): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Formata tempo de execução de comando
|
|
17
|
-
* @param startTime - Timestamp de início
|
|
18
|
-
* @param endTime - Timestamp de fim (opcional, usa Date.now() se não fornecido)
|
|
19
|
-
* @returns Tempo formatado em ms
|
|
20
|
-
*/
|
|
21
|
-
export declare function formatExecutionTime(startTime: number, endTime?: number): string;
|
|
22
|
-
//# sourceMappingURL=command.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command.utils.d.ts","sourceRoot":"","sources":["../../src/utils/command.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,OAAc,GACtB,IAAI,CAON;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAe5D;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,CAWR"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.logCommandExecution = logCommandExecution;
|
|
4
|
-
exports.isGameCommand = isGameCommand;
|
|
5
|
-
exports.formatExecutionTime = formatExecutionTime;
|
|
6
|
-
const command_index_enum_1 = require("../enum/command-index.enum");
|
|
7
|
-
/**
|
|
8
|
-
* Função utilitária para logar execução de comandos
|
|
9
|
-
* @param command - Comando executado
|
|
10
|
-
* @param userId - ID do usuário que executou
|
|
11
|
-
* @param success - Se o comando foi executado com sucesso
|
|
12
|
-
*/
|
|
13
|
-
function logCommandExecution(command, userId, success = true) {
|
|
14
|
-
const status = success ? '✅ SUCESSO' : '❌ ERRO';
|
|
15
|
-
const timestamp = new Date().toISOString();
|
|
16
|
-
console.log(`[COMMAND] ${timestamp} - ${status} - Usuário: ${userId} - Comando: ${command}`);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Verifica se um comando é relacionado a jogos
|
|
20
|
-
* @param command - Comando a ser verificado
|
|
21
|
-
* @returns true se é um comando de jogo
|
|
22
|
-
*/
|
|
23
|
-
function isGameCommand(command) {
|
|
24
|
-
const gameCommands = [
|
|
25
|
-
command_index_enum_1.CommandIndex.bicho,
|
|
26
|
-
command_index_enum_1.CommandIndex.bingo,
|
|
27
|
-
command_index_enum_1.CommandIndex.capturar,
|
|
28
|
-
command_index_enum_1.CommandIndex.caracoroa,
|
|
29
|
-
// Adicione mais comandos de jogo conforme necessário
|
|
30
|
-
];
|
|
31
|
-
const isGame = gameCommands.includes(command);
|
|
32
|
-
console.log(`[GAME_CHECK] Comando ${command} ${isGame ? 'É' : 'NÃO É'} um comando de jogo`);
|
|
33
|
-
return isGame;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Formata tempo de execução de comando
|
|
37
|
-
* @param startTime - Timestamp de início
|
|
38
|
-
* @param endTime - Timestamp de fim (opcional, usa Date.now() se não fornecido)
|
|
39
|
-
* @returns Tempo formatado em ms
|
|
40
|
-
*/
|
|
41
|
-
function formatExecutionTime(startTime, endTime) {
|
|
42
|
-
const end = endTime || Date.now();
|
|
43
|
-
const duration = end - startTime;
|
|
44
|
-
console.log(`[PERFORMANCE] Comando executado em ${duration}ms`);
|
|
45
|
-
if (duration > 1000) {
|
|
46
|
-
return `${(duration / 1000).toFixed(2)}s`;
|
|
47
|
-
}
|
|
48
|
-
return `${duration}ms`;
|
|
49
|
-
}
|