mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 10:11:27 +03:00
start making things
This commit is contained in:
@@ -8,5 +8,13 @@ module.exports = class QuestionsModal extends Modal {
|
||||
});
|
||||
}
|
||||
|
||||
async run(id, interaction) { }
|
||||
async run(id, interaction) {
|
||||
console.log(id);
|
||||
console.log(require('util').inspect(interaction, {
|
||||
colors: true,
|
||||
depth: 10,
|
||||
}));
|
||||
|
||||
// TODO: custom topic
|
||||
}
|
||||
};
|
18
src/modals/topic.js
Normal file
18
src/modals/topic.js
Normal file
@@ -0,0 +1,18 @@
|
||||
const { Modal } = require('@eartharoid/dbf');
|
||||
|
||||
module.exports = class TopicModal extends Modal {
|
||||
constructor(client, options) {
|
||||
super(client, {
|
||||
...options,
|
||||
id: 'topic',
|
||||
});
|
||||
}
|
||||
|
||||
async run(id, interaction) {
|
||||
console.log(id);
|
||||
console.log(require('util').inspect(interaction, {
|
||||
colors: true,
|
||||
depth: 10,
|
||||
}));
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user