diff --git a/events/loginTicketSend.js b/events/loginTicketSend.js index 34b0d89..19c2256 100644 --- a/events/loginTicketSend.js +++ b/events/loginTicketSend.js @@ -18,7 +18,7 @@ module.exports = { await new Promise(resolve => setTimeout(resolve, 2000)); // 2 second delay - const message = await channel.send({ embeds: [login_embeds.own], components: [buttons.own] }); + const message = await channel.send({ embeds: [login_embeds.own_no], components: [buttons.own] }); } } catch (err) { console.error(err) diff --git a/interactions/buttons/category/login/account_status/account_status_no.js b/interactions/buttons/category/login/account_status/account_status_no.js index 4e18794..b0184b3 100644 --- a/interactions/buttons/category/login/account_status/account_status_no.js +++ b/interactions/buttons/category/login/account_status/account_status_no.js @@ -1,5 +1,5 @@ -const login_embeds = require("../login_embeds"); -const buttons = require("../username_change/username_change_buttons"); +const login_embeds = require("../others/others"); +const buttons = require("../others/others_buttons"); module.exports = { id: "account_status_no", diff --git a/interactions/buttons/category/login/account_status/account_status_yes.js b/interactions/buttons/category/login/account_status/account_status_yes.js index 70c44b8..191f1ce 100644 --- a/interactions/buttons/category/login/account_status/account_status_yes.js +++ b/interactions/buttons/category/login/account_status/account_status_yes.js @@ -5,7 +5,7 @@ module.exports = { id: "account_status_yes", async execute(interaction) { - await interaction.update({ embeds: [login_embeds.username_change], components: [buttons.others] }); + await interaction.update({ embeds: [login_embeds.others], components: [buttons.others] }); return; } }; \ No newline at end of file diff --git a/interactions/buttons/category/login/login_embeds.js b/interactions/buttons/category/login/login_embeds.js index b7be26b..9e484bb 100644 --- a/interactions/buttons/category/login/login_embeds.js +++ b/interactions/buttons/category/login/login_embeds.js @@ -34,15 +34,6 @@ const login_embeds = { iconURL: "https://cdn.discordapp.com/avatars/483359783831732255/be45184a1568fa89c5ea033b9c12948c.png?size=4096" }), - username_change: new EmbedBuilder() - .setTitle("Change your username") - .setDescription("If your issue *still* persists, try change your Minecraft username via the [link](https://www.minecraft.net/en-us/msaprofile/mygames/editprofile) used earlier\n- This matters if you owned Java edition before the Microsoft Migration, if you owned it after please click the button below") - .setColor("Green") - .setFooter({ - text: "Written by TechyGiraffe999 [BETA]", - iconURL: "https://cdn.discordapp.com/attachments/1059913125308145716/1157685309602013304/TechyGiraffe_v.2.0_test_3.png?ex=651981f6&is=65183076&hm=b630b14532ae9e04c63949a94b12d9308431e6d7726cead62bca42ba4720f28d&" - }), - others: new EmbedBuilder() .setTitle("If none of the things mentioned have worked") .setDescription("If none of the things mentioned have worked you can try to Uninstall Questcraft with ADB commands, and then reinstall it. Then try launch QuestCraft again\n\nIf your issue still persists, please wait for a support staff member to review your issue and if you haven't already, please provide any additional information below or [create a ticket](https://discord.com/channels/820767484042018829/946184706486054984).") diff --git a/interactions/buttons/category/login/restart/restart.js b/interactions/buttons/category/login/restart/restart.js index 51064f4..74ebc93 100644 --- a/interactions/buttons/category/login/restart/restart.js +++ b/interactions/buttons/category/login/restart/restart.js @@ -4,7 +4,7 @@ module.exports = { id: "login_restart", async execute(interaction, message) { - await interaction.update({ embeds: [login_embeds.own], components: [buttons.own] }); + await interaction.update({ embeds: [login_embeds.own_no], components: [buttons.own] }); return; } }; \ No newline at end of file diff --git a/interactions/buttons/category/login/username_change/username_change.js b/interactions/buttons/category/login/username_change/username_change.js deleted file mode 100644 index 11e7034..0000000 --- a/interactions/buttons/category/login/username_change/username_change.js +++ /dev/null @@ -1,11 +0,0 @@ -const login_embeds = require("../login_embeds"); -const buttons = require("../others/others_buttons"); - -module.exports = { - id: "username_change", - - async execute(interaction) { - await interaction.update({ embeds: [login_embeds.username_change], components: [buttons.others] }); - return; - } -}; \ No newline at end of file diff --git a/interactions/buttons/category/login/username_change/username_change_buttons.js b/interactions/buttons/category/login/username_change/username_change_buttons.js deleted file mode 100644 index a86cefe..0000000 --- a/interactions/buttons/category/login/username_change/username_change_buttons.js +++ /dev/null @@ -1,14 +0,0 @@ -const { ActionRowBuilder, ButtonBuilder, ButtonStyle} = require("discord.js"); - -const buttons_username_change = { - username_change: new ActionRowBuilder() - .addComponents( - new ButtonBuilder() - .setCustomId("username_change") - .setLabel("Next") - .setEmoji("➡️") - .setStyle(ButtonStyle.Primary) - ) -}; - -module.exports = buttons_username_change; \ No newline at end of file