Add wiki and weather commands

This commit is contained in:
2026-01-26 14:10:46 +01:00
parent a86c90f8ce
commit ef7ca16a85
18 changed files with 266 additions and 48 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ module.exports = {
data: new SlashCommandBuilder()
.setName("quiz")
.setDescription("Start a cool quiz"),
category: 'Games',
async execute(interaction) {
const item = quiz[Math.floor(Math.random() * quiz.length)];
await interaction.reply({
@@ -42,4 +43,4 @@ module.exports = {
);
}
},
};
};
+2 -1
View File
@@ -25,6 +25,7 @@ module.exports = {
{ name: 'Full date and time with weekday', value: 'F' },
{ name: 'Relative time', value: 'R' },
)),
category: 'Utility',
async execute(interaction) {
// Get user input
const dateInput = interaction.options.getString('date');
@@ -57,4 +58,4 @@ module.exports = {
});
}
},
};
};