{"size": 586, "ext": "js", "max_stars_repo_path": "Commandes/python.js", "max_stars_repo_name": "Skytowz/NotifOnePiece", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Commandes/python.js", "max_issues_repo_name": "Skytowz/NotifOnePiece", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Commandes/python.js", "max_forks_repo_name": "Skytowz/NotifOnePiece", "max_forks_repo_forks_event_min_datetime": "2020-03-12T13:35:30.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-12T13:35:30.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 30.8421052632, "max_line_length": 61, "alphanum_fraction": 0.54778157}
const Discord = require("discord.js");
let {PythonShell} = require("python-shell");
const chan = "suggestions";
module.exports.run = async(client, message, args) =>{        
    let code = message.content.split("```")[1];
    code = code.slice(code.split(/\n/)[0].length);
    PythonShell.runString(code,null,function(err,res){
        if(err) throw err;
       message.channel.send("=================="+code).then(
            res.forEach(element => {
                message.channel.send("=> "+element);
            })
        );
    });
};
module.exports.help = {
    name:"py"   
}
