Updated imports and formating

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-01-16 17:05:15 +01:00
parent ee0250ed5e
commit 5661bc66bb
49 changed files with 819 additions and 491 deletions

View File

@@ -27,7 +27,10 @@ export = {
option
.setName("channel")
.setDescription("The channel to send the message to.")
.addChannelTypes(ChannelType.GuildText, ChannelType.GuildAnnouncement)
.addChannelTypes(
ChannelType.GuildText,
ChannelType.GuildAnnouncement,
),
)
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
.setDMPermission(false),
@@ -36,7 +39,8 @@ export = {
await interaction.deferReply({ ephemeral: true })
const message = interaction.options.getString("message")!
const channel = (interaction.options.getChannel("channel") || interaction.channel) as TextChannel
const channel = (interaction.options.getChannel("channel") ||
interaction.channel) as TextChannel
const embedColor = Number(color.replace("#", "0x"))
channel.send({