commit eb491b23a7dc0ab67d86b7b78313d07471112bfe
parent afc8d458ed67637d9ff67ef46394b64ff37461bb
Author: ThunderE75 <[email protected]>
Date: Thu, 10 Mar 2022 23:27:40 +0530
Added Apex Sensitivity
Diffstat:
2 files changed, 82 insertions(+), 4 deletions(-)
diff --git a/CODM/loadout.js b/CODM/loadout.js
@@ -27,7 +27,7 @@ module.exports = {
.setURL(client.web)
.setTitle(`🎲 A Randomly Generated Loadout 🎲`)
.setDescription(
- `This loadout is a randomly generated, Also try, \`\`\`\`/gun\`\`\`\` to get a randomally generated primary weapon gunsmith build`
+ `This loadout is a randomly generated, Also try, \`/class\` to get a randomally generated primary weapon gunsmith build`
)
.addFields(
{
@@ -46,17 +46,17 @@ module.exports = {
inline: true,
},
{
- name: `Red Perk`,
+ name: `🔴 Red Perk`,
value: ``,
inline: true,
},
{
- name: `Green Perk`,
+ name: `🟢 Green Perk`,
value: ``,
inline: true,
},
{
- name: `Blue Perk`,
+ name: `🔵 Blue Perk`,
value: ``,
inline: true,
}
diff --git a/command/APEX/sens.js 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] });
+ }
+ },
+};