reformat command data structure

This commit is contained in:
SowinskiBraeden committed 2022-09-30 13:18:57 -07:00
1 parent fd811f30ab
commit 481f012d6a
26 files changed
+26 -25

No files matched your search

+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "user", name: "user",
@@ -18,6 +17,7 @@ module.exports = {
required: false, required: false,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,8 +9,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -10,7 +10,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "command", name: "command",
@@ -27,6 +26,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,7 +9,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "serialnumber", name: "serialnumber",
@@ -19,6 +18,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "command", name: "command",
@@ -18,6 +17,7 @@ module.exports = {
required: false, required: false,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,7 +9,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "code", name: "code",
@@ -19,6 +18,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,8 +9,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,7 +9,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "firstname", name: "firstname",
@@ -33,6 +32,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,7 +9,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "platenumber", name: "platenumber",
@@ -19,6 +18,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: ["remove_role"], member: ["remove_role"],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "channel", name: "channel",
@@ -18,6 +17,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: ["MANAGE_GUILD"], member: ["MANAGE_GUILD"],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "role", name: "role",
@@ -18,6 +17,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,8 +8,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [], options: [],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: ["MANAGE_GUILD"], member: ["MANAGE_GUILD"],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "channel", name: "channel",
@@ -18,6 +17,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: ["MANAGE_GUILD"], member: ["MANAGE_GUILD"],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "new-prefix", name: "new-prefix",
@@ -18,6 +17,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: ["MANAGE_GUILD"], member: ["MANAGE_GUILD"],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "role", name: "role",
@@ -18,6 +17,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1
View File
@@ -9,6 +9,7 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
options: [],
SlashCommand: { SlashCommand: {
/** /**
* *
+1 -1
View File
@@ -8,7 +8,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "toggle", name: "toggle",
@@ -25,6 +24,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,7 +9,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "firstname", name: "firstname",
@@ -33,6 +32,7 @@ module.exports = {
required: true, required: true,
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client
+1 -1
View File
@@ -9,7 +9,6 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [], member: [],
}, },
SlashCommand: {
options: [ options: [
{ {
name: "status", name: "status",
@@ -25,6 +24,7 @@ module.exports = {
], ],
}, },
], ],
SlashCommand: {
/** /**
* *
* @param {require("../structures/LinesPoliceCadBot")} client * @param {require("../structures/LinesPoliceCadBot")} client