rename slashCommandOptions to options, and permission to permissions

This commit is contained in:
Noah committed 2021-12-18 18:57:26 -06:00
1 parent bc649caa99
commit 4e554b8bee
10 files changed
+21 -27

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ const Command = require("../Structures/Command.js");
module.exports = new Command({
name: cmdconfig.EmbedCommand,
description: cmdconfig.EmbedCommandDesc,
slashCommandOptions: [
options: [
{
name: "title",
description: "Embed Title",
@@ -28,7 +28,7 @@ module.exports = new Command({
type: "STRING",
},
],
permission: "SEND_MESSAGES",
permissions: ["SEND_MESSAGES"],
async run(interaction) {
const { getRole, getChannel, getCategory } = interaction.client;