Fix embeds for custom command

This commit is contained in:
SileNce5k 2023-12-07 13:45:03 +01:00
parent 96931c9952
commit 7fac368e31
No known key found for this signature in database
GPG key ID: 961132EB78C8915F

View file

@ -3,7 +3,7 @@ const deleteCustomCommand = require("../../util/custom_commands/deleteCustomComm
const getAllCustomCommands = require("../../util/custom_commands/getAllCustomCommands");
const getOwnerOfCustomCommand = require("../../util/custom_commands/getOwnerOfCustomCommand");
const renameCustomCommand = require("../../util/custom_commands/renameCustomCommand");
const Discord = require('discord.js');
const {EmbedBuilder} = require('discord.js');
const fs = require('fs');
const editCustomCommand = require("../../util/custom_commands/editCustomCommand");
@ -56,7 +56,7 @@ module.exports = {
break;
case "list":
const embed = new Discord.MessageEmbed();
const embed = new EmbedBuilder();
sendText = getAllCustomCommands();
if(sendText != ""){
embed.setColor(15780145)