Added SOD for Builds

This commit is contained in:
ThunderE75 2022-02-03 03:50:03 +05:30
parent ca97d20eb2
commit 1f0361c4b9

View file

@ -113,7 +113,7 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
{ {
@ -142,7 +142,7 @@ module.exports = {
}, },
{ {
name: "Search & Destroy", name: "Search & Destroy",
value: "snd", value: "SearchAndDestroy",
}, },
{ {
name: "Respawn", name: "Respawn",
@ -240,7 +240,7 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
{ {
@ -265,7 +265,7 @@ module.exports = {
}, },
{ {
name: "Search & Destroy", name: "Search & Destroy",
value: "snd", value: "SearchAndDestroy",
}, },
{ {
name: "Respawn", name: "Respawn",
@ -331,7 +331,7 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
], ],
@ -352,7 +352,7 @@ module.exports = {
}, },
{ {
name: "Search & Destroy", name: "Search & Destroy",
value: "snd", value: "SearchAndDestroy",
}, },
{ {
name: "Respawn", name: "Respawn",
@ -414,7 +414,7 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
], ],
@ -435,7 +435,7 @@ module.exports = {
}, },
{ {
name: "Search & Destroy", name: "Search & Destroy",
value: "snd", value: "SearchAndDestroy",
}, },
{ {
name: "Respawn", name: "Respawn",
@ -493,7 +493,7 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
{ {
@ -556,13 +556,13 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
// { {
// name: "Stats On Duty", name: "Stats On Duty",
// value: "sod", value: "sod",
// }, },
], ],
}, },
{ {
@ -631,7 +631,7 @@ module.exports = {
required: true, required: true,
choices: [ choices: [
{ {
name: "path.exe", name: "Path.exe",
value: "path.exe", value: "path.exe",
}, },
// { // {
@ -671,14 +671,14 @@ module.exports = {
.then(res => res.data) .then(res => res.data)
.catch(e => null); .catch(e => null);
var all = { var all = {
"path.exe": "path.exe", "path.exe": "Path.exe",
dhitman: "dHitman", dhitman: "dHitman",
jokesta: "Jokesta", jokesta: "Jokesta",
// littleb:"Little B", sod: "Stats On Duty",
aggressive: "Aggressive", aggressive: "Aggressive",
passive: "Passive", passive: "Passive",
snd: "Search And Destroy", SearchAndDestroy: "Search And Destroy",
respawn: "Respawn", respawn: "Respawn",
ads: "ADS", ads: "ADS",
hipfire: "Hipfire", hipfire: "Hipfire",
@ -687,7 +687,7 @@ module.exports = {
if (!data?.cwts) { if (!data?.cwts) {
const embed = new MessageEmbed() const embed = new MessageEmbed()
.setDescription( .setDescription(
`<:nyx_not_available:897378400031879188> We don't have a ${all[tag]} gunsmith build for the gun with **CWTS ${cwts}** by **${all[cc]}**, Please try another tag or a differnt content creator` `<:nyx_not_available:897378400031879188> We don't have a ${all[tag]} gunsmith build for the gun with **CWTS 🆔 ${cwts}** by **${all[cc]}**, Please try another tag or a differnt content creator`
) )
.setColor(client.color); .setColor(client.color);
interaction.followUp({ embeds: [embed] }); interaction.followUp({ embeds: [embed] });