sendFile and fix deleteMessage

This commit is contained in:
hydrabolt
2015-11-01 00:16:58 +00:00
parent 53ef5df10d
commit b8aaa590b4
8 changed files with 123 additions and 36 deletions

View File

@@ -6,12 +6,6 @@ var a = new module.exports.Client();
a.on("debug", (m) => console.log("[debug]",m));
a.on("message", m => {
if(m.content === "$$$")
a.getChannelLogs(m).then( logs => {
for(var item of logs){
console.log(item.author.username + "> " + item.content);
}
});
});
a.login(process.env["discordEmail"], process.env["discordPass"]).catch((e)=>console.log(e));