Changed small functions to methods
Added custom color function
This commit is contained in:
@@ -2,7 +2,6 @@ import { devMessage, embedColor } from "config/options.js"
|
||||
import { admin, helper } from "config/roles.js"
|
||||
import { GuildMember, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { ICommand } from "interfaces"
|
||||
import { removeIndents } from "utils/functions/funcs.js"
|
||||
import logToChannel from "utils/functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
@@ -76,11 +75,11 @@ export default {
|
||||
icon_url: mod.user.avatarURL() || undefined
|
||||
},
|
||||
title: "Member Kicked",
|
||||
description: removeIndents(`
|
||||
description: `
|
||||
**User:** ${userMention(member.user.id)}
|
||||
**Mod:** ${userMention(mod.user.id)}
|
||||
**Reason:** ${reason}
|
||||
`),
|
||||
`.removeIndents(),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.user.avatarURL() || ""
|
||||
|
||||
Reference in New Issue
Block a user