Add wiki and weather commands
This commit is contained in:
@@ -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 = {
|
||||
);
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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 = {
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user