start making things

This commit is contained in:
Isaac
2022-08-05 22:21:55 +01:00
parent cdb8fa04c4
commit 052c159157
25 changed files with 669 additions and 46 deletions

View File

@@ -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
View 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,
}));
}
};