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 { ButtonInteraction, ChatInputCommandInteraction, ColorResolvable, EmbedBuilder, StringSelectMenuInteraction } from "discord.js";
import { ButtonInteraction, ChatInputCommandInteraction, EmbedBuilder, StringSelectMenuInteraction } from "discord.js";
import RadioClient from "../../Client";
import { command } from "../commands";
@@ -16,7 +16,7 @@ export default {
const embed = new EmbedBuilder()
.setTitle(client.user?.username || "-")
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messages.emojis["stop"].replace(/[^0-9]+/g, ''))
.setColor(client.config.embedColor as ColorResolvable)
.setColor(client.config.embedColor)
.addFields({
name: client.messages.nowplayingTitle,
value: "-"