mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: typos
This commit is contained in:
1 parent
8d5e78a510
commit
43adaf85f5
2 files changed
+11
-8
No files matched your search
@@ -17,7 +17,7 @@ export const permissionsCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
const permissions = [
|
||||
[
|
||||
interaction.appPermissions?.has('ViewChannel'),
|
||||
t`bot.commands.permissions.body.view_channel`,
|
||||
t`bot.commands.permissions.body.view_channels`,
|
||||
],
|
||||
[
|
||||
interaction.appPermissions?.has('ReadMessageHistory'),
|
||||
|
||||
@@ -24,18 +24,21 @@ export const playerInfoCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
const accountInfo = await getAccountInfo(region, id);
|
||||
|
||||
return embedInfo(
|
||||
translate('bot.command.player_info.body.title', [
|
||||
translate('bot.commands.player_info.body.title', [
|
||||
markdownEscape(accountInfo.nickname),
|
||||
]),
|
||||
|
||||
markdownTable([
|
||||
[t`bot.command.player_info.body.nickname`, `${accountInfo.nickname}`],
|
||||
[
|
||||
t`bot.command.player_info.body.battles`,
|
||||
t`bot.commands.player_info.body.nickname`,
|
||||
`${accountInfo.nickname}`,
|
||||
],
|
||||
[
|
||||
t`bot.commands.player_info.body.battles`,
|
||||
`${accountInfo.statistics.all.battles}`,
|
||||
],
|
||||
[
|
||||
t`bot.command.player_info.body.winrate`,
|
||||
t`bot.commands.player_info.body.winrate`,
|
||||
`${(
|
||||
100 *
|
||||
(accountInfo.statistics.all.wins /
|
||||
@@ -44,17 +47,17 @@ export const playerInfoCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
],
|
||||
[],
|
||||
[
|
||||
t`bot.command.player_info.body.account_id`,
|
||||
t`bot.commands.player_info.body.account_id`,
|
||||
`${accountInfo.account_id}`,
|
||||
],
|
||||
[
|
||||
t`bot.command.player_info.body.created`,
|
||||
t`bot.commands.player_info.body.created`,
|
||||
new Date(accountInfo.created_at * 1000).toLocaleDateString(
|
||||
interaction.locale,
|
||||
),
|
||||
],
|
||||
[
|
||||
t`bot.command.player_info.body.last_battle`,
|
||||
t`bot.commands.player_info.body.last_battle`,
|
||||
new Date(accountInfo.last_battle_time * 1000).toLocaleDateString(
|
||||
interaction.locale,
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user