Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
if(message.author.id != "ваш id") return;
var code = args.join(" "); //получаем код
try{ //Проверка на ошибку
var res = eval(code); //выполняем код
message.channel.send(res); //Отправляем то, что код вернул
}catch(err) console.log(err); //логим ошибку, если есть
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question