mirror of
https://github.com/MrUnknownDE/UnknownAI.git
synced 2026-04-19 06:23:45 +02:00
okey.
This commit is contained in:
7
handlers/console.js
Normal file
7
handlers/console.js
Normal 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(" "))
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user