feat: bug fixes and error safety

This commit is contained in:
TresAbhi committed 2023-05-28 16:56:15 +00:00
1 parent 0b6b2ecedc
commit 780d9d5f8e
25 files changed
+136 -182

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import discord from '../../discord.json' assert { type: 'json' };
import { INFO_COLOR } from '../constants/colors.js';
import { ACCENT_COLOR } from '../constants/colors.js';
import cmdName from '../core/interaction/cmdName.js';
import {
CommandRegistry,
@@ -11,7 +11,7 @@ import { client } from '../index.js';
export default {
inProduction: true,
inDevelopment: false,
inDevelopment: true,
inPublic: true,
command: new SlashCommandBuilder()
@@ -23,7 +23,7 @@ export default {
embeds: [
new EmbedBuilder()
.setTitle(`${client.user?.username} help`)
.setColor(INFO_COLOR)
.setColor(ACCENT_COLOR)
.setDescription(
`**About**\n${
client.user?.username