52f2206b55
This reverts commit d3ac2fc869
.
12 lines
414 B
JavaScript
12 lines
414 B
JavaScript
const { SlashCommandBuilder } = require('discord.js');
|
|
const fn = require('../modules/functions.js');
|
|
|
|
module.exports = {
|
|
data: new SlashCommandBuilder()
|
|
.setName('compare')
|
|
.setDescription('See how your tree compares to other trees!'),
|
|
async execute(interaction) {
|
|
const embed = fn.builders.comparisonEmbed(fn.rankings.compare(interaction), fn.builders.refreshAction());
|
|
interaction.reply(embed);
|
|
},
|
|
}; |