mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-17 17:23:08 +02:00
17 lines
299 B
JavaScript
17 lines
299 B
JavaScript
const { Modal } = require('@eartharoid/dbf');
|
|
|
|
module.exports = class TopicModal extends Modal {
|
|
constructor(client, options) {
|
|
super(client, {
|
|
...options,
|
|
id: 'topic',
|
|
});
|
|
}
|
|
|
|
async run(id, interaction) {
|
|
await this.client.tickets.postQuestions({
|
|
...id,
|
|
interaction,
|
|
});
|
|
}
|
|
}; |