{"size": 1659, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "Teyo266/eurotrucksimulator", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "Teyo266/eurotrucksimulator", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index.js", "max_forks_repo_name": "Teyo266/eurotrucksimulator", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.8571428571, "max_line_length": 99, "alphanum_fraction": 0.550331525}
/*********************************************\
 * Created By "Teyo's#0525"
 * 18-03-2018
 * Created for Fun by MySelf
 * Library : NodeJS | JavaScript
 * Helping : https://discord.js.org/#/
 /**********************************************/

 
/* =Constante= */
const Discord = require ("discord.js");
const client = new Discord.Client();
const config = require ("./Commandes/config.json");

/* =Commandes= */

// Dépanneur
const DepCandid = require ("./Commandes/truckers.js");
const CMDparole = require ("./Commandes/parole.js");
const fr = require ("./Commandes/fr.js");
const eng = require ("./Commandes/eng.js");
/* =Async Fonction= */
client.on("message", message => {
  if(message.author.bot) return;
  if(message.content.indexOf(config.prefix) !== 0) return;
  const args = message.content.slice(config.prefix.length).trim().split(/ +/g);
  const command = args.shift().toLowerCase(); 
});

/* =Démarrage Système= */
client.on("ready", () => {
  client.user.setStatus(`dnd`)
  client.user.setActivity(`Euro Truck Simulator 2 🚚 | +help`, "https://www.twitch.tv/monstercat");
  console.log(`
  =======================================
   Démarrage des Systèmes en cours ...   
   [Système opérationnel]             
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ${client.users.size} Utilisateurs  
      ${client.guilds.size}  Serveurs    
  =======================================
  `)
  client.channels.get("439080704639238164").send("***Démarage des systèmes en cours ...***");
  client.channels.get("439080704639238164").send("`Motor On`");
});

/* =Connexion Système= */
client.login(config.token);
