Skip to content

Commit

Permalink
Merge pull request #36 from alanfilho184/dev
Browse files Browse the repository at this point in the history
v4.13.4 - Bug fix no button_roll
  • Loading branch information
alanfilho184 authored Aug 12, 2024
2 parents c4e4361 + af8a4f1 commit 4bd2001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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.3",
"version": "4.13.4",
"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
3 changes: 2 additions & 1 deletion src/commands/rpg/button_roll.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ module.exports = class button_roll {
.setLabel(client.tl({ local: int.lang + 'btR-backBt', cmd: numberDice }))
.setURL(`https://discord.com/channels/${int.message.guildId}/${int.message.channelId}/${int.message.id}`);

client.utils.secret(client.cache.get(int.user.id), 'roll').then(secret => {
client.cache.get(int.user.id).then(info => {
let secret = client.utils.secret(info, 'roll');
int.followUp({
embeds: [rollEmbed],
components: [{ type: 1, components: [backButton] }],
Expand Down

0 comments on commit 4bd2001

Please sign in to comment.