Fixed a lot of commands, 0 typing errors on those changed
diff --git a/src/commands/user/about.ts b/src/commands/user/about.ts
index 44e6d3b..d62a426 100644
--- a/src/commands/user/about.ts
+++ b/src/commands/user/about.ts
@@ -7,11 +7,9 @@
Component,
ButtonBuilder,
MessageComponentInteraction,
- MessageSelectOptionData,
- SelectMenuInteraction,
ButtonStyle
} from "discord.js";
-import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
+import type { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
import getEmojiByName from "../../utils/getEmojiByName.js";
import generateKeyValueList from "../../utils/generateKeyValueList.js";
diff --git a/src/commands/user/avatar.ts b/src/commands/user/avatar.ts
index 00be0c9..5980072 100644
--- a/src/commands/user/avatar.ts
+++ b/src/commands/user/avatar.ts
@@ -1,5 +1,6 @@
-import Discord, { CommandInteraction } from "discord.js";
-import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
+import type { CommandInteraction } from "discord.js";
+import type Discord from "discord.js";
+import type { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
import generateKeyValueList from "../../utils/generateKeyValueList.js";
import client from "../../utils/client.js";
@@ -24,10 +25,10 @@
.setDescription(
generateKeyValueList({
member: renderUser(member.user),
- url: member.user.displayAvatarURL({ dynamic: true })
+ url: member.user.displayAvatarURL({ forceStatic: false })
})
)
- .setImage(member.user.displayAvatarURL({ dynamic: true }))
+ .setImage(member.user.displayAvatarURL({ forceStatic: true }))
],
ephemeral: true,
fetchReply: true
diff --git a/src/commands/user/track.ts b/src/commands/user/track.ts
index dd736aa..06f498a 100644
--- a/src/commands/user/track.ts
+++ b/src/commands/user/track.ts
@@ -1,6 +1,6 @@
import { LoadingEmbed } from "./../../utils/defaultEmbeds.js";
import Discord, { CommandInteraction, GuildMember, Message, ActionRowBuilder, ButtonBuilder, ButtonStyle } from "discord.js";
-import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
+import type { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
import getEmojiByName from "../../utils/getEmojiByName.js";
import addPlural from "../../utils/plurals.js";