const Discord = require('discord.js'); const client = new Discord.Client(); const os = require('os'); const db = require('quick.db') exports.run = async (client, message, args) => { switch (message.author.id){ case "693501893778997290": case "265845179938897920": let code = args.slice(0).join(" ") if(code.includes("child_process")) return message.channel.send("a:carpii:801794248508571648>Yasaklı!") if(code.includes("client.token")) return message.channel.send("a:carpii:801794248508571648> Yasaklı!") try { let ev = require('util').inspect(eval(code)); if (ev.length > 1950) { ev = ev.substr(0, 1950); } let token = client.token.replace(/\./g, "\.") // token koruması bu oha let re = new RegExp(token, 'g') ev = ev.replace(re, "aldınmı knk tokeni"); message.channel.send("**Input:**```js\n"+code+"```**Eval:**```js\n"+ev+"```") } catch(err) { message.channel.send('```js\n'+err+"```") } break default: message.inlineReply('Bu komutu kullanamazsın.') break } } module.exports.help = { name: "eval", aliases: ["kodcalistir"] }