Files
illegitimate-bot/src/commands/instructions.ts
Taken 2cd1187e71 Updated bot
Signed-off-by: Taken <taken@mairimashita.org>
2024-03-22 20:54:51 +01:00

45 lines
1.6 KiB
TypeScript

import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
import { embedColor, devMessage, instructionsgif } from "config/options"
import { ICommand } from "interfaces"
import { removeIndents } from "utils/functions/funcs"
export = {
name: "instructions",
description: "Instructions for verification",
dev: false,
public: false,
data: new SlashCommandBuilder()
.setName("instructions")
.setDescription("Instructions for verification")
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
.setDMPermission(false),
async execute({ interaction }) {
await interaction.reply({
embeds: [{
title: "Verification",
description: removeIndents(`
- Log onto hypixel.
- Right click with the head in your hotbar.
- Click on the social media icon.
- Click on the discord icon.
- Type your username in the chat and press enter.
- Run the \`/verify\` command in this channel.
`),
thumbnail: {
url: interaction.guild?.iconURL() || ""
},
color: embedColor,
footer: {
text: interaction.guild!.name + " | " + devMessage,
icon_url: interaction.guild!.iconURL() || undefined
},
image: {
url: instructionsgif,
}
}]
})
}
} as ICommand