Add more Typescript typings

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

No files matched your search

+2 -2
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
}))