mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
rewriting... woo
This commit is contained in:
12
test/bot.js
12
test/bot.js
@@ -1,7 +1,11 @@
|
||||
var Discord = require("../lib/index.js");
|
||||
|
||||
var Auth = require("./auth.json");
|
||||
var mybot = new Discord.Client();
|
||||
|
||||
mybot.login("riftes@outlook.com", "hydrabotsecure", function(err, res){
|
||||
console.log(res);
|
||||
});
|
||||
mybot.login(Auth.email, Auth.password, function(err, res){
|
||||
|
||||
});
|
||||
|
||||
mybot.on("ready", function(){
|
||||
console.log("Ready!");
|
||||
})
|
||||
Reference in New Issue
Block a user