{"size": 393, "ext": "js", "max_stars_repo_path": "remider.js", "max_stars_repo_name": "tamamono-mae/Discord-image-query-bot", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "remider.js", "max_issues_repo_name": "tamamono-mae/Discord-image-query-bot", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "remider.js", "max_forks_repo_name": "tamamono-mae/Discord-image-query-bot", "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": 24.5625, "max_line_length": 57, "alphanum_fraction": 0.6055979644}
const Discord = require("discord.js");
const config = require("../token/config.json");

const client = new Discord.Client();

client.login(config.BOT_TOKEN);

client.on('ready', () => {
  client.users.fetch(config.userID).then((user) => {
    user.send("おやすみなさい！");
  }).then(() => {
    console.log("Quit in 5 seconds...");
    setTimeout(( () => {return process.exit(1)} ), 5000);
  });
});
