Skip to content

Commit

Permalink
couple kinks, but mostly ready, no more crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartrigger committed May 13, 2024
1 parent 1861e92 commit 48a70af
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 39 deletions.
2 changes: 1 addition & 1 deletion events/loginTicketSend.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};
9 changes: 0 additions & 9 deletions interactions/buttons/category/login/login_embeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -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).")
Expand Down
2 changes: 1 addition & 1 deletion interactions/buttons/category/login/restart/restart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};

This file was deleted.

This file was deleted.

0 comments on commit 48a70af

Please sign in to comment.