Skip to content

Commit

Permalink
don't sub the first character
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed Apr 15, 2024
1 parent f2566b0 commit 7aad3aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/services/discord/modules/commands/developer/Ban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const SlashBanCommand: SlashCommand = {
player.accountId
).getSteamID64();
return {
name: `${steamID64} (${player.nick.substring(1, 100)})`,
name: `${steamID64} (${player.nick.substring(0, 100)})`,
value: steamID64,
};
})
Expand Down
4 changes: 2 additions & 2 deletions app/services/discord/modules/commands/developer/Kick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ export const SlashKickCommand: SlashCommand = {
)
.map(player => {
return {
name: player.nick.substring(1, 100),
value: player.nick.substring(1, 100),
name: player.nick.substring(0, 100),
value: player.nick.substring(0, 100),
};
})
);
Expand Down

0 comments on commit 7aad3aa

Please sign in to comment.