guildinfo: fix interaction

This commit is contained in:
Cynthia Foxwell 2024-08-14 00:50:37 -06:00
parent ef6a2e0956
commit ce9854ed83

View file

@ -665,6 +665,6 @@ guildinfoInteraction.options.id = {
guildinfoInteraction.callback = async function (interaction) { guildinfoInteraction.callback = async function (interaction) {
const id = this.getOption(interaction, "id"); const id = this.getOption(interaction, "id");
return guildinfo.callback(interaction, id); return guildinfo.callback(interaction, id, [id], {});
}; };
hf.registerCommand(guildinfoInteraction); hf.registerCommand(guildinfoInteraction);