This commit is contained in:
2022-05-09 19:56:00 +02:00
parent af29582c00
commit 865d0ea098
7 changed files with 1103 additions and 30 deletions

7
handlers/console.js Normal file
View File

@@ -0,0 +1,7 @@
module.exports = (client, message) => {
let prompt = process.openStdin()
prompt.addListener('data', res => {
let console = res.toString().trim().split(/ +/g)
client.channels.cache.get(message.channel.id).send(x.join(" "))
});
};