Added instructinos command
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -7,5 +7,6 @@
|
|||||||
"staffOtherChannel": "1082036748558803104",
|
"staffOtherChannel": "1082036748558803104",
|
||||||
"hypixelGuildID": "5a353a170cf2e529044f2935",
|
"hypixelGuildID": "5a353a170cf2e529044f2935",
|
||||||
"onlineLogChannel": "1101144489306886226",
|
"onlineLogChannel": "1101144489306886226",
|
||||||
"botLogChannel": "1174403585149243472"
|
"botLogChannel": "1174403585149243472",
|
||||||
|
"instructionsgif": "https://cdn.discordapp.com/attachments/838716950723952640/1188211176300089384/4DMu513uNxbM.gif?ex=6599b2e4&is=65873de4&hm=e727c7a39aacbc47d6a5453f4b5f792a45679983c30d662cd258a311381b6df0&"
|
||||||
}
|
}
|
||||||
|
|||||||
42
src/commands/instructions.js
Normal file
42
src/commands/instructions.js
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
const { SlashCommandBuilder, PermissionFlagsBits } = require("discord.js")
|
||||||
|
const { color, devMessage, instructionsgif } = require("../../config/options.json")
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
name: "instructions",
|
||||||
|
description: "Instructions for verification",
|
||||||
|
type: "slash",
|
||||||
|
dev: true,
|
||||||
|
public: false,
|
||||||
|
|
||||||
|
data: new SlashCommandBuilder()
|
||||||
|
.setName("instructions")
|
||||||
|
.setDescription("Instructions for verification")
|
||||||
|
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
|
||||||
|
|
||||||
|
/** @param { import('discord.js').ChatInputCommandInteraction } interaction */
|
||||||
|
|
||||||
|
async execute(interaction) {
|
||||||
|
const embedColor = Number(color.replace("#", "0x"))
|
||||||
|
|
||||||
|
await interaction.reply({
|
||||||
|
embeds: [{
|
||||||
|
title: "Verification",
|
||||||
|
description: "1. Log onto hypixel.\n" +
|
||||||
|
"2. Right click with the head in your hotbar.\n" +
|
||||||
|
"3. Click on the social media icon.\n" +
|
||||||
|
"4. Click on the discord icon.\n" +
|
||||||
|
"5. Type your username in the chat and press enter.\n" +
|
||||||
|
"6. Run the `/verify` command in this channel.\n",
|
||||||
|
color: embedColor,
|
||||||
|
footer: {
|
||||||
|
text: interaction.guild.name + " | " + devMessage,
|
||||||
|
icon_url: interaction.guild.iconURL({ dynamic: true })
|
||||||
|
},
|
||||||
|
image: {
|
||||||
|
url: instructionsgif
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user