nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit e1d538cb337cbc539683fa98628376b62d3b10c7
parent 96235e022bdca011bd8999b444c08ea5b2867e11
Author: night0721 <[email protected]>
Date:   Fri,  4 Feb 2022 20:07:17 +0800

??

Diffstat:
MCODM/new-stats.js | 14+++++++-------
Mcommand/CODM/build.js | 14+++++++-------
Mcommand/CODM/perk.js | 6+++---
Mcommand/CODM/scorestreak.js | 4++--
Mcommand/Config/settings.js | 30+++++++++++++++---------------
Mcommand/Economy/gun.js | 6+++---
Mcommand/Moderation/warn.js | 8++++----
Mcommand/Music/loop.js | 4++--
Mcommand/Owner/add.js | 4++--
Munused/commands/Fun/fun.js | 8++++----
Munused/commands/Fun/image.js | 4++--
Munused/commands/Giveaway/giveaway.js | 6+++---
12 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/CODM/new-stats.js b/CODM/new-stats.js @@ -8,7 +8,7 @@ module.exports = { category: "CODM", options: [ { - type: 1, + type: "SUB_COMMAND", name: "assault_rifle", description: "Get a Stats for Assault Rifle", options: [ @@ -107,7 +107,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "sub_machine_gun", description: "Get a Stats for Sub Machine Gun", options: [ @@ -190,7 +190,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "sniper_rifle", description: "Get a Stats for Sniper Rifle", options: [ @@ -241,7 +241,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "light_machine_gun", description: "Get a Stats for Light Machine Gun", options: [ @@ -288,7 +288,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "shotgun", description: "Get a Stats for Shotgun", options: [ @@ -331,7 +331,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "marksman_rifle", description: "Get a Stats for Marksman Rifle", options: [ @@ -362,7 +362,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "pistol", description: "Get a Stats for Pistol", options: [ diff --git a/command/CODM/build.js b/command/CODM/build.js @@ -9,7 +9,7 @@ module.exports = { category: "CODM", options: [ { - type: 1, + type: "SUB_COMMAND", name: "assault_rifle", description: "Get a gunsmith build for a Assault Rifle", options: [ @@ -152,7 +152,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "sub_machine_gun", description: "Get a gunsmith build for a Sub Machine Gun", options: [ @@ -275,7 +275,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "sniper_rifle", description: "Get a gunsmith build for a Sniper Rifle", options: [ @@ -362,7 +362,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "light_machine_gun", description: "Get a gunsmith build for a Light Machine Gun", options: [ @@ -445,7 +445,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "shotgun", description: "Get a gunsmith build for a Shotgun", options: [ @@ -520,7 +520,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "marksman_rifle", description: "Get a gunsmith build for a Marksman Rifle", options: [ @@ -587,7 +587,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "pistol", description: "Get a gunsmith build for a Pistol", options: [ diff --git a/command/CODM/perk.js b/command/CODM/perk.js @@ -8,7 +8,7 @@ module.exports = { category: "CODM", options: [ { - type: 1, + type: "SUB_COMMAND", name: "red", description: "Red Perk", options: [ @@ -67,7 +67,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "green", description: "Green Perk", options: [ @@ -122,7 +122,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "blue", description: "Blue Perk", options: [ diff --git a/command/CODM/scorestreak.js b/command/CODM/scorestreak.js @@ -8,7 +8,7 @@ module.exports = { category: "CODM", options: [ { - type: 1, + type: "SUB_COMMAND", name: "lethal", description: "Lethal Scorestreak", options: [ @@ -83,7 +83,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "support", description: "Support Scorestreak", options: [ diff --git a/command/Config/settings.js b/command/Config/settings.js @@ -8,7 +8,7 @@ module.exports = { category: "Config", options: [ { - type: 1, + type: "SUB_COMMAND", name: "muterole", description: "Configure mute role settings for the server", options: [ @@ -21,7 +21,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "prefix", description: "Configure prefix settings for the server", options: [ @@ -35,7 +35,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "welcome", description: "Configure welcome channel settings for the server", options: [ @@ -49,7 +49,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "goodbye", description: "Configure goodbye channel settings for the server", options: [ @@ -63,7 +63,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "starboard", description: "Configure starboard channel settings for the server", options: [ @@ -83,7 +83,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "chatbot", description: "Configure chatbot channel settings for the server", options: [ @@ -97,7 +97,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "log", description: "Configure log channel settings for the server", options: [ @@ -116,7 +116,7 @@ module.exports = { description: "Enable commands/category for the server", options: [ { - type: 1, + type: "SUB_COMMAND", name: "command", description: "To enable commands", options: [ @@ -129,7 +129,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "category", description: "To enable categories", options: [ @@ -179,7 +179,7 @@ module.exports = { description: "Disable commands/category for the server", options: [ { - type: 1, + type: "SUB_COMMAND", name: "command", description: "To disable commands", options: [ @@ -192,7 +192,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "category", description: "To disable categories", options: [ @@ -237,7 +237,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "level", description: "Configure level settings for the server", options: [ @@ -250,7 +250,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "nsfw", description: "Configure nsfw settings for the server", options: [ @@ -263,7 +263,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "tips", description: "Configure tips settings for the server", options: [ @@ -276,7 +276,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "overall", description: "See overall settings for the server", options: [], diff --git a/command/Economy/gun.js b/command/Economy/gun.js @@ -6,7 +6,7 @@ module.exports = { description: "Configure Weapon Master System settings", options: [ { - type: 1, + type: "SUB_COMMAND", name: "select", description: "Select the gun for the game", options: [ @@ -29,13 +29,13 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "list", description: "See the information for the guns", options: [], }, { - type: 1, + type: "SUB_COMMAND", name: "info", description: "See the stats of your gun", }, diff --git a/command/Moderation/warn.js b/command/Moderation/warn.js @@ -8,7 +8,7 @@ module.exports = { category: "Moderation", options: [ { - type: 1, + type: "SUB_COMMAND", name: "add", description: "Warn a user", options: [ @@ -27,7 +27,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "list", description: "Show a list of warnings of an user", options: [ @@ -40,7 +40,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "remove", description: "Remove a latest warn for an user", options: [ @@ -59,7 +59,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "clear", description: "Clear an user's warns", options: [ diff --git a/command/Music/loop.js b/command/Music/loop.js @@ -4,13 +4,13 @@ module.exports = { category: "Music", options: [ { - type: 1, + type: "SUB_COMMAND", name: "track", description: "Loop the track", options: [], }, { - type: 1, + type: "SUB_COMMAND", name: "queue", description: "Loop the whole queue", options: [], diff --git a/command/Owner/add.js b/command/Owner/add.js @@ -5,7 +5,7 @@ module.exports = { Owner: true, options: [ { - type: 1, + type: "SUB_COMMAND", name: "add", description: "Remove coins from someone", options: [ @@ -24,7 +24,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "rmv", description: "Remove coins from someone", options: [ diff --git a/unused/commands/Fun/fun.js b/unused/commands/Fun/fun.js @@ -5,7 +5,7 @@ module.exports = { description: "Fun commands", options: [ { - type: 1, + type: "SUB_COMMAND", name: "8ball", description: "8ball an answer", options: [ @@ -18,12 +18,12 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "rickroll", description: "Rickroll?", }, { - type: 1, + type: "SUB_COMMAND", name: "emojify", description: "Emojify a sentence", options: [ @@ -36,7 +36,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "pp", description: "Check how long is the user", options: [ diff --git a/unused/commands/Fun/image.js b/unused/commands/Fun/image.js @@ -5,12 +5,12 @@ module.exports = { description: "Generate images", options: [ { - type: 1, + type: "SUB_COMMAND", name: "meme", description: "Get a meme from reddit", }, { - type: 1, + type: "SUB_COMMAND", name: "cat", description: "Get a cat from reddit", }, diff --git a/unused/commands/Giveaway/giveaway.js b/unused/commands/Giveaway/giveaway.js @@ -5,7 +5,7 @@ module.exports = { UserPerms: ["MANAGE_MESSAGES"], options: [ { - type: 1, + type: "SUB_COMMAND", name: "start", description: "Start a giveaway", options: [ @@ -53,7 +53,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "reroll", description: "Reroll a giveaway", options: [ @@ -67,7 +67,7 @@ module.exports = { ], }, { - type: 1, + type: "SUB_COMMAND", name: "end", description: "End a giveaway", options: [