Bug fixes and ~~performance~~ typing improvements
diff --git a/src/commands/user/avatar.ts b/src/commands/user/avatar.ts
index 502e9c8..a6c319d 100644
--- a/src/commands/user/avatar.ts
+++ b/src/commands/user/avatar.ts
@@ -10,17 +10,12 @@
.setName("avatar")
.setDescription("Shows the avatar of a user")
.addUserOption((option) =>
- option
- .setName("user")
- .setDescription(
- "The user to get the avatar of | Default: Yourself"
- )
+ option.setName("user").setDescription("The user to get the avatar of | Default: Yourself")
);
const callback = async (interaction: CommandInteraction): Promise<void> => {
const { renderUser } = client.logger;
- const member = (interaction.options.getMember("user") ??
- interaction.member) as Discord.GuildMember;
+ const member = (interaction.options.getMember("user") ?? interaction.member) as Discord.GuildMember;
await interaction.reply({
embeds: [
new EmojiEmbed()
@@ -40,10 +35,7 @@
});
};
-const check = (
- _interaction: CommandInteraction,
- _defaultCheck: WrappedCheck
-) => {
+const check = (_interaction: CommandInteraction, _defaultCheck: WrappedCheck) => {
return true;
};