diff --git a/.github/README.md b/.github/README.md index fe8030d..cba0cd0 100644 --- a/.github/README.md +++ b/.github/README.md @@ -21,7 +21,9 @@ **NYX** _(previously known as Cath)_ is a first and only **COD Mobile Statistics & Gunsmith** Bot which also doubles as a multipurpose discord bot with many features that include but are not limited to Moderation, Music and Economy.
-The Call of Duty Stats are courtesy of **Round Table** by Cygnoux Familia.

+The Call of Duty Stats are courtesy of **Stats on Duty** & **Round Table**
+πŸ”Ί **Apex Legends Commands** will be added soon, the player stats command will be added after the global launch when the API supports it. +

If you like this bot, feel free to :star: **Star** this repository.
> ⚠ The Verifed bot instance is current called Cath.exe, we are working on getting it changed @@ -43,15 +45,23 @@ If you like this bot, feel free to :star: **Star** this repository.
## **Call of Duty Mobile** -- **Weapon Statistics** courtesy of **Lighthouse v2.1** -> Will soon be using stats provided by **Stats On Duty**. -- **Currated Gunsmith Builds** by various content creators like Jokesta, dHitman, Path.exe and more comming soon. +- **Weapon Statistics** courtesy of **Round Table** & **Stats On Duty** +- **Currated Gunsmith Builds** by various content creators like Jokesta, dHitman, Path.exe, Stats On Duty and more comming soon. - **Perks** detailed info about the perks. - **Scorestreak** detailed info about scorestreak with preview videos. - **Randomly Generated Class** Wanna try something challenging? try our Randomly Generated Gunsmith builds. > We also provide access to our database that includes In-depth Weapon statistics & Gunsmith Builds from various Content Creators, & other Call of duty related info, please [contact us](https://rebrand.ly/cathSupport) for more info. +## **Apex Legends Mobile** +> ⚠ *Coming Soonβ„’* + +- **Player Stats** view your in-game stats. +- **Legends** detailed info about legends & their abilities. +- **Guns** detailed info about guns. +- **Random Combos** Wanna try something challenging? try to win a game with a random selected legend & Gun combination +- *& many more, coming soon!* + ## More Info [![Top language](https://img.shields.io/github/languages/top/night0721/cath.exe?labelColor=F7DF1E&color=555555&style=for-the-badge&scale=1.4)](https://github.com/night0721/cath.exe) diff --git a/CODM/loadout.js b/CODM/loadout.js new file mode 100644 index 0000000..31afc53 --- /dev/null +++ b/CODM/loadout.js @@ -0,0 +1,78 @@ +const { MessageEmbed } = require("discord.js"); //@night0721 You need to make this +const items = require("../../util/Data/loadout.json"); +module.exports = { + name: "class", + description: "Generate A Random Loadout", + category: "CODM", + run: async (client, interaction) => { + // const data = async () => { + // const d = await model.findOne({}); + // const types = d.Categories; + // const names = d.Primary; + // const category = types[Math.floor(Math.random() * types.length)]; + // const weapons = names[0][category]; + // return `${weapons[Math.floor(Math.random() * weapons.length)]}`; + // }; + // const primary_weapon = await data(); + // const primary = primary_weapon.replace(/[ -]/g, "_").replace(/\./g, ""); + // const slots = shuffle(Object.keys(Attachments[primary][0])); + // const slot_1 = slots.next().value, + // slot_2 = slots.next().value, + // slot_3 = slots.next().value, + // slot_4 = slots.next().value, + // slot_5 = slots.next().value; + const result = new MessageEmbed() + .setColor(client.color) + .setFooter(`Made by ${client.author}`) + .setURL(client.web) + .setTitle(`🎲 A Randomly Generated Loadout 🎲`) + .setDescription( + `This loadout is a randomly generated, Also try, \`/class\` to get a randomally generated primary weapon gunsmith build` + ) + .addFields( + { + name: `Secondary Weapon`, + value: ``, + inline: true, + }, + { + name: `Operator Skill`, + value: ``, + inline: true, + }, + { + name: `Scorestreak`, // 3 perks + value: ``, + inline: true, + }, + { + name: `πŸ”΄ Red Perk`, + value: ``, + inline: true, + }, + { + name: `🟒 Green Perk`, + value: ``, + inline: true, + }, + { + name: `πŸ”΅ Blue Perk`, + value: ``, + inline: true, + } + ) + .setTimestamp(); + interaction.followUp({ embeds: [result] }); + + // function* shuffle(array) { + // let i = array.length; + // while (i--) { + // yield array.splice(Math.floor(Math.random() * (i + 1)), 1)[0]; + // } + // } + // function getAttachment(gun, slot) { + // const ca = Attachments[gun][0][slot]; + // return ca[Math.floor(Math.random() * ca.length)]; + // } + }, +}; diff --git a/command/APEX/sens.js b/command/APEX/sens.js new file mode 100644 index 0000000..e9a7998 --- /dev/null +++ b/command/APEX/sens.js @@ -0,0 +1,78 @@ +const { MessageEmbed } = require("discord.js"); +module.exports = { + name: "class", + description: "Get the perfect sensitivity for APEXM", + category: "APEX", + usage: "[Ironsight Sensitivity ]", + type: "CHAT_INPUT", + options: [ + { + type: 3, + name: "base_sensitivity", + description: "Enter the base ironsight sensitivity or for 1x scope", + required: true, + }, + ], + run: async (client, interaction, args) => { + if (args[0] > 0 && args[0] < 300) { + const embed = new MessageEmbed() + .setTitle(`The base sensitivity (ironsight or 1x Scope): ${args[0]}`) + .setDescription( + `<:nyx_description:897379659665264650> [Video guide](https://rebrand.ly/apexm-sens) by HawksNest on how to set your sensitivity. + \n**Basic Sensitivity** \`\`\` + \nTPP without ADS ${args[0] * 2.09} + \nFPP without ADS ${args[0] * 1.29} + \`\`\`\n + **Scope Sensitivity**` + ) + .setColor(13703714) // hex: #d11a22 + .setFooter({ + text: `Data by Hawksnest`, + iconURL: + "https://media.discordapp.net/attachments/851764525623672854/951532817647542342/more_hawksnest.jpg", + }) + .setTimestamp() + .addFields( + { + name: "2x Scope ADS", + value: `\`\`\`\n${args[0] * 0.5}\`\`\``, + inline: true, + }, + { + name: "3x Scope ADS", + value: `\`\`\`\n${args[0] * 0.33}\`\`\``, + inline: true, + }, + { + name: "4x Scope ADS", + value: `${args[0] * 0.25}`, + inline: true, + }, + { + name: "6x Scope ADS", + value: `${args[0] * 0.16}`, + inline: true, + }, + { + name: "8x Scope ADS", + value: `${args[0] * 0.12}`, + inline: true, + }, + { + name: "10x Scope ADS", + value: `${args[0] * 0.1}`, + inline: true, + } + ) + .setURL("https://hawksnestgg.wixsite.com/apexsens/apexsenscalc"); + interaction.followUp({ + embeds: [embed], + }); + } else { + const embed = new MessageEmbed() + .setDescription(`⚠ **ERROR:** The Sensitivity can be betweeen 0 & 300`) + .setColor(client.color); + interaction.followUp({ embeds: [embed] }); + } + }, +}; diff --git a/util/assets/images/Logos/STATS_ON_DUTY_V3.png b/util/assets/images/Logos/STATS_ON_DUTY_V3.png new file mode 100644 index 0000000..a48a4c0 Binary files /dev/null and b/util/assets/images/Logos/STATS_ON_DUTY_V3.png differ diff --git a/util/assets/images/Logos/nolink-leakers.png b/util/assets/images/Logos/nolink-leakers.png new file mode 100644 index 0000000..02dd4cc Binary files /dev/null and b/util/assets/images/Logos/nolink-leakers.png differ diff --git a/util/assets/images/Logos/roundtablepng.png b/util/assets/images/Logos/roundtablepng.png new file mode 100644 index 0000000..0e13b44 Binary files /dev/null and b/util/assets/images/Logos/roundtablepng.png differ diff --git a/util/assets/images/apex/apex-legends-logo-white.svg b/util/assets/images/apex/apex-legends-logo-white.svg new file mode 100644 index 0000000..b99235a --- /dev/null +++ b/util/assets/images/apex/apex-legends-logo-white.svg @@ -0,0 +1,72 @@ + + + + Apex Legends Symbol + + + + + + + + + + Apex Legends Symbol + + + +