diff --git a/src/commands/nucleus/invite.ts b/src/commands/nucleus/invite.ts
index ebc3c34..8ae8c1a 100644
--- a/src/commands/nucleus/invite.ts
+++ b/src/commands/nucleus/invite.ts
@@ -1,24 +1,38 @@
-import { CommandInteraction, MessageActionRow, MessageButton } from "discord.js";
+import {
+    CommandInteraction,
+    MessageActionRow,
+    MessageButton
+} from "discord.js";
 import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
 import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
 import client from "../../utils/client.js";
 
 const command = (builder: SlashCommandSubcommandBuilder) =>
-    builder
-        .setName("invite")
-        .setDescription("Invites Nucleus to your server");
+    builder.setName("invite").setDescription("Invites Nucleus to your server");
 
 const callback = async (interaction: CommandInteraction): Promise<void> => {
-    interaction.reply({embeds: [new EmojiEmbed()
-        .setTitle("Invite")
-        .setDescription("You can invite Nucleus to your server by clicking the button below")
-        .setEmoji("NUCLEUS.LOGO")
-        .setStatus("Danger")
-    ], components: [new MessageActionRow().addComponents([new MessageButton()
-        .setLabel("Invite")
-        .setStyle("LINK")
-        .setURL(`https://discord.com/api/oauth2/authorize?client_id=${client.user.id}&permissions=295157886134&scope=bot%20applications.commands`)
-    ])], ephemeral: true});
+    interaction.reply({
+        embeds: [
+            new EmojiEmbed()
+                .setTitle("Invite")
+                .setDescription(
+                    "You can invite Nucleus to your server by clicking the button below"
+                )
+                .setEmoji("NUCLEUS.LOGO")
+                .setStatus("Danger")
+        ],
+        components: [
+            new MessageActionRow().addComponents([
+                new MessageButton()
+                    .setLabel("Invite")
+                    .setStyle("LINK")
+                    .setURL(
+                        `https://discord.com/api/oauth2/authorize?client_id=${client.user.id}&permissions=295157886134&scope=bot%20applications.commands`
+                    )
+            ])
+        ],
+        ephemeral: true
+    });
 };
 
 const check = () => {
@@ -27,4 +41,4 @@
 
 export { command };
 export { callback };
-export { check };
\ No newline at end of file
+export { check };
