@diegofemello/bitbot-types 1.3.26 → 1.3.28

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.
Files changed (104) hide show
  1. package/README.md +4 -4
  2. package/dist/index.d.ts +12 -2
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +14 -5
  5. package/dist/interfaces/auction-bid.interface.d.ts +2 -1
  6. package/dist/interfaces/auction-bid.interface.d.ts.map +1 -1
  7. package/dist/interfaces/avatar.interface.d.ts +8 -0
  8. package/dist/interfaces/avatar.interface.d.ts.map +1 -0
  9. package/dist/interfaces/avatar.interface.js +2 -0
  10. package/dist/interfaces/card.interface.d.ts +5 -0
  11. package/dist/interfaces/card.interface.d.ts.map +1 -1
  12. package/dist/interfaces/command-log.interface.d.ts +9 -4
  13. package/dist/interfaces/command-log.interface.d.ts.map +1 -1
  14. package/dist/interfaces/command-log.interface.js +7 -3
  15. package/dist/interfaces/commandinfo.interface.d.ts +2 -2
  16. package/dist/interfaces/commandinfo.interface.d.ts.map +1 -1
  17. package/dist/interfaces/customization-item-type.enum.d.ts +9 -0
  18. package/dist/interfaces/customization-item-type.enum.d.ts.map +1 -0
  19. package/dist/interfaces/customization-item-type.enum.js +12 -0
  20. package/dist/interfaces/customization-item.interface.d.ts +64 -0
  21. package/dist/interfaces/customization-item.interface.d.ts.map +1 -0
  22. package/dist/interfaces/customization-item.interface.js +2 -0
  23. package/dist/interfaces/game-group.interface.d.ts +2 -1
  24. package/dist/interfaces/game-group.interface.d.ts.map +1 -1
  25. package/dist/interfaces/group-member.interface.d.ts +2 -1
  26. package/dist/interfaces/group-member.interface.d.ts.map +1 -1
  27. package/dist/interfaces/group.interface.d.ts +5 -0
  28. package/dist/interfaces/group.interface.d.ts.map +1 -1
  29. package/dist/interfaces/item.interface.d.ts +1 -0
  30. package/dist/interfaces/item.interface.d.ts.map +1 -1
  31. package/dist/interfaces/jogo-batalha-naval.interface.d.ts +2 -1
  32. package/dist/interfaces/jogo-batalha-naval.interface.d.ts.map +1 -1
  33. package/dist/interfaces/jogo-bicho.interface.d.ts +2 -1
  34. package/dist/interfaces/jogo-bicho.interface.d.ts.map +1 -1
  35. package/dist/interfaces/jogo-bingo.interface.d.ts +2 -1
  36. package/dist/interfaces/jogo-bingo.interface.d.ts.map +1 -1
  37. package/dist/interfaces/jogo-pokebattle.interface.d.ts +2 -1
  38. package/dist/interfaces/jogo-pokebattle.interface.d.ts.map +1 -1
  39. package/dist/interfaces/jogo-qpkm.interface.d.ts +1 -0
  40. package/dist/interfaces/jogo-qpkm.interface.d.ts.map +1 -1
  41. package/dist/interfaces/mission-decision.interface.d.ts +11 -0
  42. package/dist/interfaces/mission-decision.interface.d.ts.map +1 -0
  43. package/dist/interfaces/mission-decision.interface.js +2 -0
  44. package/dist/interfaces/mission-objective-frequency.enum.d.ts +27 -0
  45. package/dist/interfaces/mission-objective-frequency.enum.d.ts.map +1 -0
  46. package/dist/interfaces/mission-objective-frequency.enum.js +30 -0
  47. package/dist/interfaces/mission-objective-type.enum.d.ts +11 -0
  48. package/dist/interfaces/mission-objective-type.enum.d.ts.map +1 -0
  49. package/dist/interfaces/mission-objective-type.enum.js +25 -0
  50. package/dist/interfaces/mission-objective.interface.d.ts +39 -0
  51. package/dist/interfaces/mission-objective.interface.d.ts.map +1 -0
  52. package/dist/interfaces/mission-objective.interface.js +2 -0
  53. package/dist/interfaces/mission-reward.interface.d.ts +15 -0
  54. package/dist/interfaces/mission-reward.interface.d.ts.map +1 -0
  55. package/dist/interfaces/mission-reward.interface.js +13 -0
  56. package/dist/interfaces/mission.interface.d.ts +17 -0
  57. package/dist/interfaces/mission.interface.d.ts.map +1 -0
  58. package/dist/interfaces/mission.interface.js +2 -0
  59. package/dist/interfaces/pokemon-battle.interface.d.ts +78 -68
  60. package/dist/interfaces/pokemon-battle.interface.d.ts.map +1 -1
  61. package/dist/interfaces/pokemon.interface.d.ts +1 -0
  62. package/dist/interfaces/pokemon.interface.d.ts.map +1 -1
  63. package/dist/interfaces/raid-attack.interface.d.ts +3 -1
  64. package/dist/interfaces/raid-attack.interface.d.ts.map +1 -1
  65. package/dist/interfaces/raid.interface.d.ts +4 -0
  66. package/dist/interfaces/raid.interface.d.ts.map +1 -1
  67. package/dist/interfaces/rpg-player.interface.d.ts +2 -1
  68. package/dist/interfaces/rpg-player.interface.d.ts.map +1 -1
  69. package/dist/interfaces/suggestions.interface.d.ts +1 -0
  70. package/dist/interfaces/suggestions.interface.d.ts.map +1 -1
  71. package/dist/interfaces/transaction.interface.d.ts +2 -1
  72. package/dist/interfaces/transaction.interface.d.ts.map +1 -1
  73. package/dist/interfaces/user-card.interface.d.ts +3 -1
  74. package/dist/interfaces/user-card.interface.d.ts.map +1 -1
  75. package/dist/interfaces/user-item.interface.d.ts +2 -1
  76. package/dist/interfaces/user-item.interface.d.ts.map +1 -1
  77. package/dist/interfaces/user-login.interface.d.ts +2 -1
  78. package/dist/interfaces/user-login.interface.d.ts.map +1 -1
  79. package/dist/interfaces/user-mission-progress.interface.d.ts +12 -0
  80. package/dist/interfaces/user-mission-progress.interface.d.ts.map +1 -0
  81. package/dist/interfaces/user-mission-progress.interface.js +2 -0
  82. package/dist/interfaces/user-poke.interface.d.ts +4 -1
  83. package/dist/interfaces/user-poke.interface.d.ts.map +1 -1
  84. package/dist/interfaces/user-wish.interface.d.ts +2 -1
  85. package/dist/interfaces/user-wish.interface.d.ts.map +1 -1
  86. package/dist/interfaces/user.interface.d.ts +10 -1
  87. package/dist/interfaces/user.interface.d.ts.map +1 -1
  88. package/dist/interfaces/wonder-trade.interface.d.ts +12 -0
  89. package/dist/interfaces/wonder-trade.interface.d.ts.map +1 -0
  90. package/dist/interfaces/wonder-trade.interface.js +2 -0
  91. package/dist/utils/pokemon.utils.d.ts +27 -0
  92. package/dist/utils/pokemon.utils.d.ts.map +1 -0
  93. package/dist/utils/pokemon.utils.js +62 -0
  94. package/dist/utils/user.utils.js +1 -1
  95. package/dist/utils/utils.d.ts +4 -4
  96. package/dist/utils/utils.d.ts.map +1 -1
  97. package/dist/utils/utils.js +65 -26
  98. package/package.json +1 -1
  99. package/dist/enum/command-index.enum.d.ts +0 -222
  100. package/dist/enum/command-index.enum.d.ts.map +0 -1
  101. package/dist/enum/command-index.enum.js +0 -225
  102. package/dist/utils/command.utils.d.ts +0 -22
  103. package/dist/utils/command.utils.d.ts.map +0 -1
  104. package/dist/utils/command.utils.js +0 -49
@@ -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,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,IA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,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,CAAC,MAAM;IACP,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,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
- }