nyx

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

commit 43b177b330b19ca6cbf53c5fb968e1215b095258
parent a216a4044d2a10ccbd3681eb37f2a2a264739469
Author: ThunderE75 <[email protected]>
Date:   Fri, 10 Dec 2021 01:08:01 +0530

Added New Weapons & Misc. Changes 

Added Weapons
- P90 (CBR4)
- Dragonov (SVD)
- Swordfish
- & thier Attachments in attachments.json

More Changes
- Removed Old Lighthouse Server
- Updated Currency Emoji
- Commented out CPU info from Botinfo.js
- Removed Builds.json [Depreciated Methord]
- Embedified Blacklist Command
- Fixed Typo in Function.js
Diffstat:
MCODM/builds.js | 28++--------------------------
Mclient/NYX.js | 3+--
Mcommand/CODM/build.js | 41+++++++++++++----------------------------
Mcommand/Information/botinfo.js | 30++++++++++++++++--------------
Mcommand/Owner/blacklist.js | 40++++++++++++++++++++++++++++------------
Mutil/Data/attachments.json | 117+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dutil/Data/builds.json | 772-------------------------------------------------------------------------------
Mutil/functions/function.js | 2+-
8 files changed, 178 insertions(+), 855 deletions(-)

diff --git a/CODM/builds.js b/CODM/builds.js @@ -82,29 +82,4 @@ function weaponIdentifier(inpWeaponName) { ); } return "Couldn't identify the weapon: `" + '"' + inpWeaponName + '"`'; -} -// ENABLE AFTER Holloween - -// run: async (client, interaction, args) => { -// const embed = new MessageEmbed() -// .setTitle(`Prefix commands are now disabled`) -// .setDescription(`Please enable **Application commands** in the channel settings to get access to slash commands, we have discontinued prefix commands.`) -// .setColor(client.color) -// .setThumbnail(interaction.guild.iconURL({ dynamic: true })) -// .addFields( -// { -// name: "Need help ?", -// value: `Join our **[Support Server](https://discord.gg/SR7TeNJG67)**`, -// inline: true, -// }, -// { -// name: "Support us <a:donate:896985486260846614>", -// value: `[KoFi](https://ko-fi.com/cathteam)`, -// inline: true, -// } -// ) -// .setThumbnail("https://github.com/night0721/cath.js/blob/master/util/assets/images/nyx_logo_transparent.webp") -// .setTimestamp(); -// interaction.followUp({ embeds: [embed] }); -// }, -// }; +} +\ No newline at end of file diff --git a/client/NYX.js b/client/NYX.js @@ -45,13 +45,12 @@ class NYX extends Client { "556808365574193194", // chunchunmaru "746753527338238115", // mightyful ]; - this.currency = "<:cp:840231933933387797>"; // <a:pumpkin:898975476863877170> + this.currency = "<:nyx_currency:918584872333893703>"; this.xp = "<:nyx_xp:900309007472926720>"; this.path = [ "614423108388126731", // Camper on Duty "767173194943168542", // Dark Bonker "718762019586572341", // NYX Nation - "869583978108157972", // Lighthouse Community "840225563193114624", // Command Test ]; const client = this; diff --git a/command/CODM/build.js b/command/CODM/build.js @@ -213,6 +213,10 @@ module.exports = { name: "MX9", value: "mx9", }, + { + name: "CBR4", + value: "cbr4", + }, ], }, { @@ -300,6 +304,10 @@ module.exports = { name: "Rytec AMR", value: "rytecamr", }, + { + name: "SVD", + value: "svd", + }, ], }, { @@ -681,6 +689,7 @@ module.exports = { locus: "Locus", outlaw: "Outlaw", rytecamr: "Rytec AMR", + svd: "SVD", hs2126: "HS2126", by15: "BY15", @@ -705,6 +714,7 @@ module.exports = { qxr: "QXR", pp19bizon: "PP19 Bizon", mx9: "MX9", + cbr4: "CBR4", }; const all = { assault_rifle: "Assault Rifle", @@ -750,7 +760,7 @@ module.exports = { } else { const arr = []; data.attachments.map((e, i) => { - return arr.push(`**${i + 1}: ${e}**`); + return arr.push(`**${i + 1}:** ${e}`); }); const embed = new MessageEmbed() .setTitle( @@ -799,30 +809,4 @@ module.exports = { }); } }, -}; - -// ENABLE AFTER Holloween - -// run: async (client, interaction, args) => { -// const embed = new MessageEmbed() -// .setTitle(`Prefix commands are now disabled`) -// .setDescription(`Please enable **Application commands** in the channel settings to get access to slash commands, we have discontinued prefix commands.`) -// .setColor(client.color) -// .setThumbnail(interaction.guild.iconURL({ dynamic: true })) -// .addFields( -// { -// name: "Need help ?", -// value: `Join our **[Support Server](https://discord.gg/SR7TeNJG67)**`, -// inline: true, -// }, -// { -// name: "Support us <a:donate:896985486260846614>", -// value: `[KoFi](https://ko-fi.com/cathteam)`, -// inline: true, -// } -// ) -// .setThumbnail("../../util/assets/images/nyx_logo_transparent.webp") -// .setTimestamp(); -// interaction.followUp({ embeds: [embed] }); -// }, -// }; +}; +\ No newline at end of file diff --git a/command/Information/botinfo.js b/command/Information/botinfo.js @@ -1,14 +1,14 @@ const { MessageEmbed, version: djsversion } = require("discord.js"); const version = require("../../package.json").version; const { utc } = require("moment"); -const os = require("os"); +// const os = require("os"); module.exports = { name: "botinfo", description: "Check the info of the bot", category: "Information", type: "CHAT_INPUT", run: async (client, interaction, args, utils) => { - const core = os.cpus()[0]; + // const core = os.cpus()[0]; const embed = new MessageEmbed() .setTitle(`NYX - CODM Gunsmith Bot`) .setURL( @@ -51,18 +51,20 @@ module.exports = { Discord.js ❯ \`v${djsversion}\` Node.js ❯ \`${process.version}\``, }, - { - name: `Hardware`, - value: ` - Uptime:** ${utils.timer(os.uptime() * 1000, { long: true })} - Platform:** ${process.platform} - CPU:** - \u3000 Cores: ${os.cpus().length} - \u3000 Model: ${core.model} - \u3000 Speed: ${core.speed}MHz - **`, - inline: true, - } + // Removed OS Info for troubleshooting. + // + // { + // name: `Hardware`, + // value: ` + // Uptime:** ${utils.timer(os.uptime() * 1000, { long: true })} + // Platform:** ${process.platform} + // CPU:** + // \u3000 Cores: ${os.cpus().length} + // \u3000 Model: ${core.model} + // \u3000 Speed: ${core.speed}MHz + // **`, + // inline: true, + // } ) .addFields({ name: `**${client.author}**`, diff --git a/command/Owner/blacklist.js b/command/Owner/blacklist.js @@ -2,7 +2,7 @@ module.exports = { name: "blacklist", category: "Owner", usage: "(User) (Toggle) (Reason)", - description: "Blacklist someone from the bot", + description: "Manage the User Blacklist of the bot", Owner: true, options: [ { @@ -13,8 +13,8 @@ module.exports = { }, { type: 5, - name: "yesno", - description: "Whether blacklist or whitelist", + name: "blacklist", + description: "Whether to blacklist or whitelist", required: true, }, { @@ -25,19 +25,35 @@ module.exports = { }, ], run: async (client, interaction) => { - const user = interaction.options.getUser("user"); - const toggle = interaction.options.getBoolean("yesno"); - const reason = interaction.options.getString("reason"); + const user = interaction.options.getUser("User"); + const toggle = interaction.options.getBoolean("Blacklist"); + const reason = interaction.options.getString("Reason"); if (toggle === true) { await client.data.BK(user.id, toggle, reason); - interaction.followUp({ - content: `**Blacklisted** ${user.username}.\n**Reason: **${reason}`, - }); + const embed = new MessageEmbed() + .setTitle( + "<a:nyx_checkmark:897240322411724841> Successfully Blacklisted" + ) + .setDescription( + `**User:** ${user.user.tag} \`(${user.id})\`\n**Reason:** ${reason} \n**Blacklisted by:** ${interaction.member}` + ) + .setURL(client.web) + .setColor(client.color) + .setFooter(`Made by ${client.author}`, client.user.displayAvatarURL()) + .setTimestamp(); + interaction.followUp({ embeds: [embed] }); } else { await client.data.BK(user.id, toggle, reason); - interaction.followUp({ - content: `Removed blacklist from ${user.username}`, - }); + const embed = new MessageEmbed() + .setTitle("<a:nyx_checkmark:897240322411724841> Removed From Blacklist") + .setDescription( + `**User:** ${user.user.tag} \`(${user.id})\`\n**Reason:** ${reason} \n**Whitelisted by:** ${interaction.member}` + ) + .setURL(client.web) + .setColor(client.color) + .setFooter(`Made by ${client.author}`, client.user.displayAvatarURL()) + .setTimestamp(); + interaction.followUp({ embeds: [embed] }); } }, }; diff --git a/util/Data/attachments.json b/util/Data/attachments.json @@ -997,6 +997,60 @@ ] } ], + "Swordfish": [ + { + "muzzle": [ + "Tactical Suppressor", + "OWC Light Suppressor", + "OWC Light Compensator", + "Monolithic Suppressor", + "MIP Light FLash Guard", + "RTC Light Muzzle Brake" + ], + "barrel": ["MIP Light", "MIP Extended Light Barrel", "OWC Ranger"], + "optic": [ + "Red Dot Sight", + "Holographic Sight", + "3x Tactical Scope", + "4x Tactical Scope", + "4.4x Tactical Scope" + ], + "stock": [ + "YKM Light Stock", + "OWC Skeleton Stock", + "RTC Steady Stock" + ], + "perk": [ + "FMJ", + "Sleight of Hand", + "Wounding", + "Full Ammo", + "Disable", + "Tough", + "Long Shot", + "Melee Master" + ], + "laser": ["RTC Laser 1mW", "MIP Laser 5mW", "OWC Laser - Tactical"], + "underbarrel": [ + "Strike Foregrip", + "Merc Foregrip", + "Operator Foregrip", + "Ranger Foregrip", + "Tactical Foregrip A", + "Bipod" + ], + "ammo": [ + "Extended Mag A", + "Fast Reload", + "Halberd Mag" + ], + "rear_grip": [ + "Granulated Grip Tape", + "Ruberized Grip Tape", + "Stippled Grip Tape" + ] + } + ], "XPR_50": [ { "muzzle": [ @@ -1341,6 +1395,33 @@ ] } ], + "SVD": [ + { + "muzzle": [ + "Tactical Suppressor", + "OWC Light Suppressor", + "Monolithic Suppressor", + "RTC Compensator", + "MIP Light FLash Guard", + "RTC Light Muzzle Brake" + ], + "barrel": ["RTC 510mm Light", "RTC 600mm Heavy"], + "optic": ["3x Tactical Scope", "4x Tactical Scope", "6x Tactical Scope"], + "stock": ["YKM Light Stock", "OWC Skeleton Stock", "RTC Steady Stock"], + "perk": [ + "FMJ", + "Sleight of Hand", + "Wounding", + "Full Ammo", + "Disable", + "Bullet Return", + "Headshot Slow" + ], + "laser": ["OWC Laser - Tactical"], + "underbarrel": ["Bipod"], + "ammo": ["15 Round Extended Mag", "20 Round Extended Mag"] + } + ], "S36": [ { "muzzle": [ @@ -2433,6 +2514,42 @@ "rear_grip": ["Rustle Grip Tape", "Sturdy Grip Tape", "Firm Grip Tape"] } ], + "CBR4": [ + { + "muzzle": [ + "Tactical Suppressor", + "OWC Light Suppressor", + "Monolithic Suppressor", + "OWC Light Compensator", + "MIP Light FLash Guard", + "RTC Light Muzzle Brake" + ], + "barrel": ["MIP Extended Light Barrel", "OWC Marksman"], + "optic": [ + "Red Dot Sight", + "Holographic Sight", + "Tactical Scope", + "3x Tactical Scope" + ], + "stock": ["YKM Light Stock", "YKM Combat Stock", "RTC Steady Stock"], + "perk": [ + "FMJ", + "Sleight of Hand", + "Wounding", + "Full Ammo", + "Disable", + "Wild Hip Fire", + "Double Kill", + "Fast Reload Kill" + ], + "laser": ["RTC Laser 1mW", "MIP Laser 5mW", "OWC Laser - Tactical"], + "rear_grip": [ + "Granulated Grip Tape", + "Ruberized Grip Tape", + "Stippled Grip Tape" + ] + } + ], "HS2126": [ { "muzzle": [ diff --git a/util/Data/builds.json b/util/Data/builds.json @@ -1,772 +0,0 @@ -{ - "Main": [ - { - "Name": "AK-47", - "Type": 0, - "Attachments": [ - { "Name": "MIP Extended Light Barrel", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "5.45 Large Caliber", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174280823308308/image3.png?width=937&height=562" - }, - { - "Name": "AK117", - "Type": 0, - "Attachments": [ - { "Name": "YKM Integral Supprssor", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Tactical Foregrip B", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ] - }, - { - "Name": "ASM10", - "Type": 0, - "Attachments": [ - { "Name": "MIP Light Flash Guard", "Type": 4 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Slight of Hand", "Type": 8 }, - { "Name": "40 Round Extended Mag", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/691133003866439701/861887618820472842/Screenshot_20210706-1353282.png" - }, - { - "Name": "BK57", - "Type": 0, - "Attachments": [ - { "Name": "MIP Extended Light Barrel", "Type": 5 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "40 Round Fast Reload", "Type": 7 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174279287668776/image0.png?width=937&height=562" - }, - { - "Name": "DR-H", - "Type": 0, - "Attachments": [ - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 3 }, - { "Name": "25 Round OTM Mag", "Type": 7 }, - { "Name": "Tactical Foregrip A", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174261193965648/image3.png?width=937&height=562" - }, - { - "Name": "HBRa3", - "Type": 0, - "Attachments": [ - { "Name": "MIP Light", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Tactical Foregrip A", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174262041346128/image5.png?width=937&height=562" - }, - { - "Name": "HVK-30", - "Type": 0, - "Attachments": [ - { "Name": "Monolithic Suppressor", "Type": 4 }, - { "Name": "MIP Light", "Type": 5 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Large Caliber Ammo", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174261705146458/image4.png?width=937&height=562" - }, - { - "Name": "ICR-1", - "Type": 0, - "Attachments": [ - { "Name": "YKM Integral Supprssor Light", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Tactical Foregrip A", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174263286661140/image8.png?width=937&height=562" - }, - { - "Name": "KN-44", - "Type": 0, - "Attachments": [ - { "Name": "MIP Light Muzzle Brake", "Type": 4 }, - { "Name": "MIP Light Barrel(Short)", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174262397075516/image6.png?width=937&height=562" - }, - { - "Name": "LK24", - "Type": 0, - "Attachments": [ - { "Name": "YKM Integral Suppressor Light", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Tactical Foregrip A", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174263684857907/image9.png?width=937&height=562" - }, - { - "Name": "M4", - "Type": 0, - "Attachments": [ - { "Name": "YKM Integral Suppressor Light", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Tactical Foregrip A", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174279689928714/image1.png?width=937&height=562" - }, - { - "Name": "M16", - "Type": 0, - "Attachments": [ - { "Name": "OWC Light Compensator", "Type": 4 }, - { "Name": "MIP Strike Stock", "Type": 6 }, - { "Name": "Rubberized Grip Tape", "Type": 2 }, - { "Name": "Operator Foregrip", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174281255190568/image4.png?width=937&height=562" - }, - { - "Name": "Man-O-War", - "Type": 0, - "Attachments": [ - { "Name": "MIP Light Barrel(Short)", "Type": 5 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Tactical Foregrip A", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174262841540658/image7.png?width=937&height=562" - }, - { - "Name": "Peacekeeper MK2", - "Type": 0, - "Attachments": [ - { "Name": "Taskforce Barrel", "Type": 5 }, - { "Name": "Agile Stock", "Type": 6 }, - { "Name": "Firm Grip Tape", "Type": 2 }, - { "Name": "Extended Mag A", "Type": 7 }, - { "Name": "Field Agent Foregrip", "Type": 1 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174260522090516/image2.png?width=937&height=562" - }, - { - "Name": "Type 25", - "Type": 0, - "Attachments": [ - { "Name": "MIP Light Barrel(Short)", "Type": 5 }, - { "Name": "YKM Light Stock", "Type": 6 }, - { "Name": "Stopping Power Reload", "Type": 7 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174281698738216/image5.png?width=937&height=562" - }, - { - "Name": "ASVAL", - "Type": 0, - "Attachments": [ - { "Name": "MIP Quick Response Barrel", "Type": 5 }, - { "Name": "OWC Skeleton Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Large Extended Mag B", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174259708657695/image0.png?width=937&height=562" - }, - { - "Name": "FR .556", - "Type": 0, - "Attachments": [ - { "Name": "MIP Light Barrel(Short)", "Type": 5 }, - { "Name": "RTC Steady Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Long Shot", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/772099026195316746/847174260052459540/image1.png?width=937&height=562" - }, - { - "Name": "CR-56 AMAX", - "Type": 0, - "Attachments": [ - { "Name": "Gunner Stock", "Type": 6 }, - { "Name": "Red Dot Sight", "Type": 0 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "M67 Ammo", "Type": 7 }, - { "Name": "Granulated Grip Tape", "Type": 2 } - ], - "URL": "https://media.discordapp.net/attachments/691133003866439701/861891137254326272/brave_8pS8PhHl4P.png?width=1128&height=634" - }, - { - "Name": "AGR 556", - "Type": 1, - "Attachments": [ - { "Name": "OWC Light Compensator", "Type": 4 }, - { "Name": "MIP Extended Light Barrel", "Type": 5 }, - { "Name": "YKM Light Stock", "Type": 6 }, - { "Name": "30 Round 5.56mm Mag", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/691133003866439701/861887638419931176/Screenshot_20210706-1402032.png?width=881&height=495" - }, - { - "Name": "Chicom", - "Type": 1, - "Attachments": [ - { "Name": "MIP Light", "Type": 5 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "Stippled Grip Tape", "Type": 2 }, - { "Name": "Strike Foregrip", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "Cordite", - "Type": 1, - "Attachments": [ - { "Name": "MIP Extended Light Barrel", "Type": 5 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "Stippled Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Fennec", - "Type": 1, - "Attachments": [ - { "Name": "Monolithic Supprssor", "Type": 4 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Extended Mag A", "Type": 7 }, - { "Name": "Operator Foregrip", "Type": 1 }, - { "Name": "MIP Laser 5mW", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/767456294981992488/862753085985914930/image0.png?width=1104&height=630" - }, - { - "Name": "GKS", - "Type": 1, - "Attachments": [ - { "Name": "YKM Integral Supprssor", "Type": 5 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "32 Round Fast Reload", "Type": 7 }, - { "Name": "Strike Foregrip", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "HG 40", - "Type": 1, - "Attachments": [ - { "Name": "YKM Integral Supprssor", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Rubberized Grip Tape", "Type": 2 }, - { "Name": "40 Round Fast Reload", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "MSMC", - "Type": 1, - "Attachments": [ - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "36 Round Extended Mag", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "MX9", - "Type": 1, - "Attachments": [ - { "Name": "MIP Extended Light Barrel", "Type": 5 }, - { "Name": "Agile Stock", "Type": 6 }, - { "Name": "5mW Combat Laser", "Type": 2 }, - { "Name": "Strike Foregrip", "Type": 1 }, - { "Name": "Large Caliber Ammo", "Type": 7 } - ], - "URL": "" - }, - { - "Name": "PDW-57", - "Type": 1, - "Attachments": [ - { "Name": "MIP Light Flash Guard", "Type": 4 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Pharo", - "Type": 1, - "Attachments": [ - { "Name": "MIP Light Barrel (Short)", "Type": 5 }, - { "Name": "MIP Strike Stock", "Type": 6 }, - { "Name": "Stippled Grip Tape", "Type": 2 }, - { "Name": "36 Round Fast Reload", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "QQ9", - "Type": 1, - "Attachments": [ - { "Name": "RTC Recon Tac Long", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "45 Round Extended Mag", "Type": 7 }, - { "Name": "MIP Laser 5mW", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/853663337824780348/image2.png" - }, - { - "Name": "QXR", - "Type": 1, - "Attachments": [ - { "Name": "MIP Light Flash Guard", "Type": 4 }, - { "Name": "MIP Light Barrel (Short)", "Type": 5 }, - { "Name": "YKM Light Stock", "Type": 6 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Enhanced Bolt", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/691133003866439701/861883636013727774/Screenshot_20210706-1344422.png" - }, - { - "Name": "Razorback", - "Type": 1, - "Attachments": [ - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "Extended Mag A", "Type": 7 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Rapid Fire", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/852922742705881098/image0.png?width=1001&height=563" - }, - { - "Name": "RUS-79U", - "Type": 1, - "Attachments": [ - { "Name": "MIP Light Barrel (Short)", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "38 Round Fast Reload", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "PP19 Bizon", - "Type": 1, - "Attachments": [ - { "Name": "Monolithic Suppressor", "Type": 4 }, - { "Name": "OWC Skeleton Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Large Caliber Ammo A", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/691133003866439701/861887619049717770/Screenshot_20210706-1351142.png?width=881&height=487" - }, - { - "Name": "Chopper", - "Type": 2, - "Attachments": [ - { "Name": "RTC Light Muzzle Brake", "Type": 4 }, - { "Name": "Chopper Infatry", "Type": 5 }, - { "Name": "Heavy Handle", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "FMJ", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "M4LMG", - "Type": 2, - "Attachments": [ - { "Name": "MIP Ultralight Barrel", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "40 Round Light Reload", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "RPD", - "Type": 2, - "Attachments": [ - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Snatch Foregrip", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "FMJ", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "S36", - "Type": 2, - "Attachments": [ - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "UL736", - "Type": 2, - "Attachments": [ - { "Name": "RTC 12.4\" Light Barrel", "Type": 5 }, - { "Name": "RTC Steady Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "60 Round Reload", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "Holger 26", - "Type": 2, - "Attachments": [ - { "Name": "MIP Light", "Type": 5 }, - { "Name": "NO Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Holger-26C Lightweight Polymer Mag", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/540218400413188116/856109420311740436/Screenshot_20210620-151957.png?width=881&height=407" - }, - { - "Name": "Arctic .50", - "Type": 4, - "Attachments": [ - { "Name": "OWC Light Suppressor", "Type": 4 }, - { "Name": "Assassin Short", "Type": 5 }, - { "Name": "OWC Skeleton Stock", "Type": 6 }, - { "Name": "Stippled Grip Tape", "Type": 2 }, - { "Name": "FMJ", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "DL Q33", - "Type": 4, - "Attachments": [ - { "Name": "OWC Light Suppressor", "Type": 4 }, - { "Name": "MIP Light", "Type": 5 }, - { "Name": "YKM Combat Stock", "Type": 6 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "FMJ", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Locus", - "Type": 4, - "Attachments": [ - { "Name": "OWC Light Suppressor", "Type": 4 }, - { "Name": "YKM Lightweight Short", "Type": 5 }, - { "Name": "OWC Skeleton Stock", "Type": 6 }, - { "Name": "FMJ", "Type": 8 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/691133003866439701/861887618546139146/Screenshot_20210706-1357422.png?width=881&height=480" - }, - { - "Name": "M21 EBR", - "Type": 4, - "Attachments": [ - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "NA-45", - "Type": 4, - "Attachments": [ - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Outlaw", - "Type": 4, - "Attachments": [ - { "Name": "MIP Memorial Cowboy", "Type": 5 }, - { "Name": "MIP Stalker Stock", "Type": 6 }, - { "Name": "Stippled Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "FMJ", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "XPR-50", - "Type": 4, - "Attachments": [ - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Kilo Bolt-Action", - "Type": 5, - "Attachments": [ - { "Name": "YKM Combat Stock", "Type": 5 }, - { "Name": "Stippled Grip Tape", "Type": 2 }, - { "Name": "Fast Reload", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/852922652452454460/image0.png?width=1001&height=563" - }, - { - "Name": "SP-R 208", - "Type": 5, - "Attachments": [ - { "Name": "RTC Light Barrel", "Type": 5 }, - { "Name": "OWC Skeleton Stock", "Type": 6 }, - { "Name": "Light Bolt", "Type": 9 }, - { "Name": "Extended Mag A", "Type": 7 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/852922699063885864/image0.png?width=1001&height=563" - }, - { - "Name": "SKS", - "Type": 5, - "Attachments": [ - { "Name": "MIP Light", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Operator Foregrip", "Type": 1 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/852922602674454538/image0.png?width=1001&height=563" - }, - { - "Name": "MK 2", - "Type": 5, - "Attachments": [ - { "Name": "OWC Light Suppressor", "Type": 4 }, - { "Name": "18.0 Sport Barrel", "Type": 5 }, - { "Name": "MIP Sport Stock", "Type": 6 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "OWC Laser-Tactical", "Type": 3 } - ], - "URL": "https://media.discordapp.net/attachments/540218400413188116/856114522922156082/Screenshot_20210620-153228.png?width=1283&height=592" - }, - { - "Name": "BY15", - "Type": 3, - "Attachments": [ - { "Name": "Marauder Suppressor", "Type": 4 }, - { "Name": "Extended Barrel(+2)", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "MIP Laser 5mW", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Echo", - "Type": 3, - "Attachments": [ - { "Name": "Choke", "Type": 4 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "Extended Mag C", "Type": 7 }, - { "Name": "MIP Laser 5mW", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "HS0405", - "Type": 3, - "Attachments": [ - { "Name": "Choke", "Type": 4 }, - { "Name": "RTC Extended Light Barrel", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "MIP Laser 5mW", "Type": 3 }, - { "Name": "Speed Up Kill", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/852922783414616104/image0.png?width=1001&height=563" - }, - { - "Name": "HS2126", - "Type": 3, - "Attachments": [ - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "KRM-262", - "Type": 3, - "Attachments": [ - { "Name": "Marauder Suppressor", "Type": 4 }, - { "Name": "Extended Barrel(+2)", "Type": 5 }, - { "Name": "No Stock", "Type": 6 }, - { "Name": "MIP Laser 5mW", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "Striker", - "Type": 3, - "Attachments": [ - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 }, - { "Name": "404", "Type": 8 } - ], - "URL": "" - }, - { - "Name": ".50 GS ", - "Type": 6, - "Attachments": [ - { "Name": "Monolithic Suppressor", "Type": 4 }, - { "Name": "Granulated Grip Tape", "Type": 2 }, - { "Name": "Lightweight Trigger", "Type": 1 }, - { "Name": "OWC Laser - Tactical", "Type": 3 }, - { "Name": "Sleight of Hand", "Type": 8 } - ], - "URL": "" - }, - { - "Name": "J358", - "Type": 6, - "Attachments": [ - { "Name": "RTC Light Muzzle Brake", "Type": 4 }, - { "Name": "J358 Custom Light", "Type": 5 }, - { "Name": "Red Dot Sight 2", "Type": 0 }, - { "Name": "Stopping Power Reload", "Type": 7 }, - { "Name": "Lightweight Trigger", "Type": 10 } - ], - "URL": "https://media.discordapp.net/attachments/842014909264953354/852922819507126272/image0.png?width=1001&height=563" - }, - { - "Name": "MW11", - "Type": 6, - "Attachments": [ - { "Name": "MIP Light Flash Guard", "Type": 4 }, - { "Name": "Rubberized Grip Tape", "Type": 2 }, - { "Name": "15 Round Reload", "Type": 7 }, - { "Name": "Lightweight Trigger", "Type": 10 }, - { "Name": "MIP Laser 5mW", "Type": 3 } - ], - "URL": "" - }, - { - "Name": "Renetti", - "Type": 6, - "Attachments": [ - { "Name": "RTC Compensator", "Type": 4 }, - { "Name": "MIP Light", "Type": 5 }, - { "Name": "Handmade Grip Tape", "Type": 2 }, - { "Name": "MIP Laser 5mW", "Type": 3 }, - { "Name": "Full Ammo", "Type": 8 } - ], - "URL": "https://pbs.twimg.com/media/E2f2W6eXEAM1Yb1?format=jpg&name=large" - }, - { - "Name": "Shorty", - "Type": 6, - "Attachments": [ - { "Name": "Marauder Suppressor", "Type": 4 }, - { "Name": "RTC Steady Stock", "Type": 6 }, - { "Name": "OWC Stable", "Type": 11 }, - { "Name": "MIP Laser 5mW", "Type": 3 }, - { "Name": "Slight of Hand", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/692227531235000400/866204001065369620/image0.png?width=840&height=630" - }, - { - "Name": "Crossbow", - "Type": 6, - "Attachments": [ - { "Name": "28 Bow String", "Type": 12 }, - { "Name": "Heavy Limb", "Type": 13 }, - { "Name": "Archer Stock", "Type": 6 }, - { "Name": "Gas Grenade Bolt", "Type": 7 }, - { "Name": "Full Ammo", "Type": 8 } - ], - "URL": "https://media.discordapp.net/attachments/785461568464748593/882503628538126336/image0.png" - } - ], - "WeaponTypes": [ - "Assault", - "SMG", - "LMG", - "Shotgun", - "Sniper", - "Marksman", - "Pistol" - ], - "AttachmentTypes": [ - "Optic", - "Underbarrel", - "Rear Grip", - "Laser", - "Muzzle", - "Barrel", - "Stock", - "Ammunition", - "Perk", - "Bolt", - "Trigger Action", - "Guard", - "Bowstring", - "Limb" - ] -} diff --git a/util/functions/function.js b/util/functions/function.js @@ -408,7 +408,7 @@ function tips(interaction, client) { const all = [ "You can report bugs by using `/report` and send a suggestion by `/suggest` !", "If a gun isn't there, please be paitent and wait for the us to get the stats", - "We all recruiting for bot developers (Total: 4) Please DM the bot for more info", + "We all recruiting for javascript bot developers (Total: 4) Please DM the bot for more info", ]; const ran = Math.floor(Math.random() * 50) + 2; const rTip = all[Math.floor(Math.random() * all.length)];