Skip to content

Commit 89b7d30

Browse files
committed
temp, until 6.0
1 parent 38dad14 commit 89b7d30

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

interactions/slash/newversions.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const {EmbedBuilder, SlashCommandBuilder} = require("discord.js");
2+
3+
const embed_versions = new EmbedBuilder()
4+
.setTitle("**Version Info**")
5+
.setDescription("Questcraft currently supports Minecraft versions:\n> 1.19.2 | 1.19.4 | 1.20.1 | 1.20.4 | 1.20.6 | 1.21.1 | 1.21.4 \n\nYou are unable to use any versions below 1.19.2\nTo change versions, click the version number for a dropdown, or create a new instance with a version of choice.")
6+
.setColor("Green")
7+
.setImage("https://github.com/Cartrigger/QCXRSupport/blob/main/assets/versions.jpg?raw=true")
8+
.setFooter({
9+
text: "Written by Cart",
10+
iconURL: "https://cdn.discordapp.com/avatars/317814254336081930/a_89da6baf3d01206f8bd3e0f4ac91295f.gif?size=4096"
11+
})
12+
module.exports = {embed_versions}
13+
module.exports = {
14+
data: new SlashCommandBuilder()
15+
.setName("newverions")
16+
.setDescription("Displays minecraft version info for QuestCraft"),
17+
async execute(interaction) {
18+
await interaction.reply({
19+
embeds: [embed_versions]
20+
});
21+
}
22+
};

0 commit comments

Comments
 (0)