Skip to content

Commit

Permalink
v4.13.6 - Removendo chamada de updateFichasUser
Browse files Browse the repository at this point in the history
  • Loading branch information
alanfilho184 committed Aug 12, 2024
1 parent 66571e8 commit 7a91bfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kami",
"version": "4.13.5",
"version": "4.13.6",
"description": "Um BOT para Discord com foco em ajudar em mesas de RPG online, tendo suas principais funções criar fichas e rolar dados.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/commands/rpg/ficha.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ module.exports = class ficha {
if (atb == "multi") {
client.cache.updateFicha(int.user.id, nomerpg, valor, { query: "insert" })
.then(async r => {
await client.cache.updateFichasUser(int.user.id, nomerpg)
// await client.cache.updateFichasUser(int.user.id, nomerpg)
var msgToSend = String()
if (atbsErr[0]) {
msgToSend = client.tl({ local: int.lang + "cef-updtMultiErr", nomerpg: nomerpg, atributo: atbs, valor: vals, atb: atbsErr })
Expand All @@ -328,7 +328,7 @@ module.exports = class ficha {
if (client.utils.isDefaultAtb(atb, atributos)) {
atb = atributosF[atributosPt.indexOf(atb)]
}
await client.cache.updateFichasUser(int.user.id, nomerpg)
// await client.cache.updateFichasUser(int.user.id, nomerpg)
return int.editReply({ content: client.tl({ local: int.lang + "cef-adcFicha", nomerpg: nomerpg, atributo: atb, valor: valor }), components: [] })
.then(() => {
client.emit("createFichaBot", int.user.id, nomerpg)
Expand Down

0 comments on commit 7a91bfb

Please sign in to comment.