Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
hi
Browse files Browse the repository at this point in the history
  • Loading branch information
KIO2gamer committed Feb 23, 2024
1 parent e472f4a commit becb14f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/system/timeout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { PermissionFlagsBits } = require('discord.js')

Check failure on line 1 in commands/system/timeout.js

View workflow job for this annotation

GitHub Actions / Linting

Missing semicolon
const { EmbedBuilder, SlashCommandBuilder } = require('@discordjs/builders')

Check failure on line 2 in commands/system/timeout.js

View workflow job for this annotation

GitHub Actions / Linting

Missing semicolon
const ms = require('ms')

Check failure on line 3 in commands/system/timeout.js

View workflow job for this annotation

GitHub Actions / Linting

Missing semicolon
const { Color } = require('discord-image-generation')

Check failure on line 4 in commands/system/timeout.js

View workflow job for this annotation

GitHub Actions / Linting

'Color' is assigned a value but never used

Check failure on line 4 in commands/system/timeout.js

View workflow job for this annotation

GitHub Actions / Linting

Missing semicolon

module.exports = {
data: new SlashCommandBuilder()
Expand Down Expand Up @@ -37,7 +38,7 @@ module.exports = {
const reason =
interaction.options.getString('reason') || 'No reason provided.'

const errEmbed = new EmbedBuilder().setColor('Red').setTitle('ERROR')
const errEmbed = new EmbedBuilder().setColor("FF0000").setTitle('ERROR')

if (!targetUser) {
errEmbed.setDescription(`Looks like that user isn't in this server`)
Expand Down

0 comments on commit becb14f

Please sign in to comment.