mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 13:10:42 +00:00
added .travis.yml
This commit is contained in:
parent
b5131b55ee
commit
69f2794823
3 changed files with 8 additions and 1 deletions
3
.travis.yml
Normal file
3
.travis.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "stable"
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "A way to interface with the Discord API",
|
"description": "A way to interface with the Discord API",
|
||||||
"main": "./lib/index.js",
|
"main": "./lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "node test/bot.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
var Discord = require("../lib/index.js");
|
var Discord = require("../lib/index.js");
|
||||||
var Auth = require("./auth.json");
|
var Auth = require("./auth.json");
|
||||||
var mybot = new Discord.Client();
|
var mybot = new Discord.Client();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue