Updated bot

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-03-22 20:54:51 +01:00
parent 6e6e84e250
commit 2cd1187e71
4 changed files with 14 additions and 11 deletions

View File

@@ -3,7 +3,6 @@
"ignore": [ "ignore": [
".git", ".git",
"node_modules/**/node_modules", "node_modules/**/node_modules",
"dist/config",
"src" "src"
], ],
"verbose": true, "verbose": true,

View File

@@ -2,8 +2,7 @@
"restartable": "rs", "restartable": "rs",
"ignore": [ "ignore": [
".git", ".git",
"node_modules/**/node_modules", "node_modules/**/node_modules"
"dist/config"
], ],
"verbose": true, "verbose": true,
"env": { "env": {

View File

@@ -1,6 +1,7 @@
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js" import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
import { embedColor, devMessage, instructionsgif } from "config/options" import { embedColor, devMessage, instructionsgif } from "config/options"
import { ICommand } from "interfaces" import { ICommand } from "interfaces"
import { removeIndents } from "utils/functions/funcs"
export = { export = {
name: "instructions", name: "instructions",
@@ -18,12 +19,17 @@ export = {
await interaction.reply({ await interaction.reply({
embeds: [{ embeds: [{
title: "Verification", title: "Verification",
description: "1. Log onto hypixel.\n" + description: removeIndents(`
"2. Right click with the head in your hotbar.\n" + - Log onto hypixel.
"3. Click on the social media icon.\n" + - Right click with the head in your hotbar.
"4. Click on the discord icon.\n" + - Click on the social media icon.
"5. Type your username in the chat and press enter.\n" + - Click on the discord icon.
"6. Run the `/verify` command in this channel.\n", - Type your username in the chat and press enter.
- Run the \`/verify\` command in this channel.
`),
thumbnail: {
url: interaction.guild?.iconURL() || ""
},
color: embedColor, color: embedColor,
footer: { footer: {
text: interaction.guild!.name + " | " + devMessage, text: interaction.guild!.name + " | " + devMessage,
@@ -31,7 +37,6 @@ export = {
}, },
image: { image: {
url: instructionsgif, url: instructionsgif,
proxy_url: instructionsgif
} }
}] }]
}) })

View File

@@ -27,7 +27,7 @@ export = {
setInterval(() => { setInterval(() => {
const status = i++ % statuses.length const status = i++ % statuses.length
user.setActivity({ name: getActivity(statuses[status].name), type: statuses[status].type }) user.setActivity({ name: getActivity(statuses[status].name), type: statuses[status].type })
}, 1000 * 60 * 10) }, 1000 * 60)
user.setStatus("dnd") user.setStatus("dnd")
} }