Initial Commit

This commit is contained in:
plane000
2018-05-19 22:38:38 +01:00
parent 0e7fb409cf
commit 5ad3eacfce
283 changed files with 37470 additions and 0 deletions

19
main.js Normal file
View File

@@ -0,0 +1,19 @@
const logger = require('./logger');
const Discord = require('discord.js');
const client = new Discord.Client();
client.login('');
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
});
client.on('message', msg => {
if (msg.content === 'ping') {
logger.logMSG(msg);
msg.reply('pong');
}
});