Skip to content

Commit

Permalink
Merge pull request #17 from pixelate-it/dev
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
mirdukkkkk authored Feb 3, 2024
2 parents 682baa2 + c0206a3 commit de565b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/commands/UserCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class UserCommand extends PixelCommand {
content: null,
embeds: [
new EmbedBuilder()
.setTitle((member.id == message.author.id) ? 'Информация о вас' : `Информация о ${member.nickname || member.user.username}`)
.setTitle((member.id === message.author.id) ? 'Информация о вас' : `Информация о ${member.nickname || member.user.username}`)
.setColor(0x5865F2)
.addFields([
{
Expand All @@ -37,7 +37,7 @@ class UserCommand extends PixelCommand {
{
name: '🛠️ Внутреняя информация',
value:
`> Первая авторизация: ${!information?.token ? '**не производилась**' : `<t:${Math.ceil(parseInt(information.token.split('.')[1], 36) / 1000)}>`}\n` +
`> Первая авторизация: ${!information?.token ? '**не производилась**' : `<t:${Math.ceil(parseInt(information.token.split('.')[2], 36) / 1000)}>`}\n` +
`> Блокировка: ${banned ? `✅ (действует до: <t:${Math.floor(banned.timeout / 1000)}>)` : '❌'}\n` +
`> Модератор?: ${message.client.moderators.has(member.id) ? '✅' : '❌'}\n` +
`> Значки: ${message.client.functions.buildBadges(information?.badges ?? []) ?? '**отсутствуют**'}\n` +
Expand Down
2 changes: 1 addition & 1 deletion src/managers/BansManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class BansManager extends BaseManager {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
token: message.client.config.insideToken,
token: client.config.insideToken,
action: false
})
});
Expand Down

0 comments on commit de565b8

Please sign in to comment.