From 2cd1187e715b58469c1fcd76d66e1ebf1bb7461e Mon Sep 17 00:00:00 2001 From: Taken Date: Fri, 22 Mar 2024 20:54:51 +0100 Subject: [PATCH] Updated bot Signed-off-by: Taken --- nodemon-js.json | 1 - nodemon.json | 3 +-- src/commands/instructions.ts | 19 ++++++++++++------- src/events/server/ready/status.ts | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/nodemon-js.json b/nodemon-js.json index 6cb63a7..f6c3038 100644 --- a/nodemon-js.json +++ b/nodemon-js.json @@ -3,7 +3,6 @@ "ignore": [ ".git", "node_modules/**/node_modules", - "dist/config", "src" ], "verbose": true, diff --git a/nodemon.json b/nodemon.json index d6b0922..107265b 100644 --- a/nodemon.json +++ b/nodemon.json @@ -2,8 +2,7 @@ "restartable": "rs", "ignore": [ ".git", - "node_modules/**/node_modules", - "dist/config" + "node_modules/**/node_modules" ], "verbose": true, "env": { diff --git a/src/commands/instructions.ts b/src/commands/instructions.ts index bac0b62..a847bf9 100644 --- a/src/commands/instructions.ts +++ b/src/commands/instructions.ts @@ -1,6 +1,7 @@ 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", @@ -18,12 +19,17 @@ export = { 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", + 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, @@ -31,7 +37,6 @@ export = { }, image: { url: instructionsgif, - proxy_url: instructionsgif } }] }) diff --git a/src/events/server/ready/status.ts b/src/events/server/ready/status.ts index bfb42f8..9184f2e 100644 --- a/src/events/server/ready/status.ts +++ b/src/events/server/ready/status.ts @@ -27,7 +27,7 @@ export = { setInterval(() => { const status = i++ % statuses.length user.setActivity({ name: getActivity(statuses[status].name), type: statuses[status].type }) - }, 1000 * 60 * 10) + }, 1000 * 60) user.setStatus("dnd") }