Add more Typescript typings

This commit is contained in:
Christer Warén
2023-06-07 21:33:28 +03:00
parent b29624cba3
commit 3f1d576c44
14 changed files with 39 additions and 40 deletions

View File

@ -1,4 +1,4 @@
import { ChatInputCommandInteraction, ColorResolvable, EmbedBuilder } from "discord.js";
import { ChatInputCommandInteraction, EmbedBuilder } from "discord.js";
import RadioClient from "../../Client";
import { command } from "../commands";
@ -27,7 +27,7 @@ export default {
"%client.user.username%": client.user.username
}))
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messages.emojis["logo"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor as ColorResolvable)
.setColor(client.config.embedColor)
.setDescription(client.messages.replace(client.messages.helpDescription, {
"%commands%": commands
}))