mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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,
|
inPublic: true,
|
||||||
|
|
||||||
command: new SlashCommandBuilder()
|
command: new SlashCommandBuilder()
|
||||||
.setName(cmdName('tanks'))
|
.setName(cmdName('ownedtanks'))
|
||||||
.setDescription("Shows a player's owned tanks")
|
.setDescription("Shows a player's owned tanks")
|
||||||
.addIntegerOption((option) =>
|
.addIntegerOption((option) =>
|
||||||
option
|
option
|
||||||
@@ -68,7 +68,7 @@ export default {
|
|||||||
if (!tankStats) return;
|
if (!tankStats) return;
|
||||||
const tanks = tankStats[id]
|
const tanks = tankStats[id]
|
||||||
.map((tankData) => tankopedia.data[tankData.tank_id])
|
.map((tankData) => tankopedia.data[tankData.tank_id])
|
||||||
.filter((tank) => tank.tier === tier);
|
.filter((tank) => tank?.tier === tier);
|
||||||
|
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
embeds: [
|
embeds: [
|
||||||
Reference in new issue
Block a user