mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
Fixed credentials ;s
This commit is contained in:
parent
0f9c1b8dad
commit
b104cc93b2
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -32,3 +32,4 @@ build/Release
|
||||||
# Dependency directory
|
# Dependency directory
|
||||||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
|
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
|
||||||
node_modules
|
node_modules
|
||||||
|
test/auth.json
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
var Discord = require("../lib/index.js");
|
var Discord = require("../lib/index.js");
|
||||||
|
var Auth = require("./auth.json");
|
||||||
var mybot = new Discord.Client();
|
var mybot = new Discord.Client();
|
||||||
|
|
||||||
mybot.login("email", "pass", function(err, res){
|
mybot.login(Auth.email, Auth.password, function(err, res){
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue