gwuh
This commit is contained in:
parent
3f9c63a732
commit
db91a455be
2
index.js
2
index.js
|
@ -362,7 +362,7 @@ discord.on("interactionCreate", async (interaction) => {
|
||||||
case Discord.InteractionType.ModalSubmit:
|
case Discord.InteractionType.ModalSubmit:
|
||||||
assetId = interaction.fields.getTextInputValue("assetId");
|
assetId = interaction.fields.getTextInputValue("assetId");
|
||||||
cookie = interaction.fields.getTextInputValue("cookie");
|
cookie = interaction.fields.getTextInputValue("cookie");
|
||||||
bulk([new String(new Number(assetId))], cookie ? cookie : null).then((data) => {
|
bulk([new String(new Number(assetId))], cookie).then((data) => {
|
||||||
if (data.data[assetId].status == "failure") {
|
if (data.data[assetId].status == "failure") {
|
||||||
return interaction.reply({
|
return interaction.reply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
|
|
Loading…
Reference in a new issue