mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: rename tanks to owned tanks
This commit is contained in:
1 parent
e78345f144
commit
d7ebd1deb9
1 file changed
+2
-2
@@ -40,7 +40,7 @@ export default {
|
||||
inPublic: true,
|
||||
|
||||
command: new SlashCommandBuilder()
|
||||
.setName(cmdName('tanks'))
|
||||
.setName(cmdName('ownedtanks'))
|
||||
.setDescription("Shows a player's owned tanks")
|
||||
.addIntegerOption((option) =>
|
||||
option
|
||||
@@ -68,7 +68,7 @@ export default {
|
||||
if (!tankStats) return;
|
||||
const tanks = tankStats[id]
|
||||
.map((tankData) => tankopedia.data[tankData.tank_id])
|
||||
.filter((tank) => tank.tier === tier);
|
||||
.filter((tank) => tank?.tier === tier);
|
||||
|
||||
await interaction.editReply({
|
||||
embeds: [
|
||||
Reference in new issue
Block a user