Removed all instances of client.interaction with import client from utils
diff --git a/src/commands/mod/nick.ts b/src/commands/mod/nick.ts
index 96738c6..c09e197 100644
--- a/src/commands/mod/nick.ts
+++ b/src/commands/mod/nick.ts
@@ -57,7 +57,7 @@
let nickname = interaction.options.getString("name")
member.setNickname(nickname ?? null, "Nucleus Nickname command")
// @ts-ignore
- const { log, NucleusColors, entry, renderUser, renderDelta, getAuditLog } = interaction.client.logger
+ const { log, NucleusColors, entry, renderUser, renderDelta, getAuditLog } = client.logger
let data = {
meta: {
type: 'memberUpdate',
@@ -78,7 +78,7 @@
guild: interaction.guild.id
}
}
- log(data, interaction.client);
+ log(data, client);
} catch {
await interaction.editReply({embeds: [new generateEmojiEmbed()
.setEmoji("PUNISH.NICKNAME.RED")