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