ticket creation works

This commit is contained in:
Isaac
2022-08-08 21:55:09 +01:00
parent 01e479dab5
commit bc3ccdcb82
10 changed files with 226 additions and 95 deletions

View File

@@ -9,10 +9,9 @@ module.exports = class TopicModal extends Modal {
}
async run(id, interaction) {
console.log(id);
console.log(require('util').inspect(interaction, {
colors: true,
depth: 10,
}));
await this.client.tickets.postQuestions({
...id,
interaction,
});
}
};