Skip to content

Commit

Permalink
better display of unban time
Browse files Browse the repository at this point in the history
  • Loading branch information
mirdukkkkk committed Dec 4, 2023
1 parent d229080 commit d15f53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/BaninfoCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class BaninfoCommand extends PixelCommand {
`> Модератор: \`${moderator?.globalName || moderator?.username || ban.moderatorID} ${moderator ? `(${ban.moderatorID})` : ''}\`\n` +
`> Забанил: \`${user.globalName || user.username} (${ban.userID})\`\n` +
`> По причине: \`${ban.reason || 'не указана'}\`\n` +
`> Бан истекает: <t:${Math.floor(ban.timeout / 1000)}>`
`> Бан истекает: <t:${Math.floor(ban.timeout / 1000)}:R>`
)
.addFields([
{
Expand Down

0 comments on commit d15f53b

Please sign in to comment.