DiscordTickets/src/modals/topic.js

17 lines
299 B
JavaScript
Raw Normal View History

2022-08-06 00:21:55 +03:00
const { Modal } = require('@eartharoid/dbf');
module.exports = class TopicModal extends Modal {
constructor(client, options) {
super(client, {
...options,
id: 'topic',
});
}
async run(id, interaction) {
2022-08-08 23:55:09 +03:00
await this.client.tickets.postQuestions({
...id,
interaction,
});
2022-08-06 00:21:55 +03:00
}
};