mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
added .travis.yml
This commit is contained in:
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",
|
||||
"main": "./lib/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "node test/bot.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/*
|
||||
|
||||
*/
|
||||
|
||||
var Discord = require("../lib/index.js");
|
||||
var Auth = require("./auth.json");
|
||||
var mybot = new Discord.Client();
|
||||
|
||||
Reference in New Issue
Block a user