reformat command data structure
This commit is contained in:
26 files changed
+26
-25
No files matched your search
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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: {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user