Fix a bunch of linter errors
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 };