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