This commit is contained in:
Alex Brow 2020-05-17 02:59:12 -04:00
parent 80c6a2fe8c
commit e0d2b5d291
No known key found for this signature in database
GPG Key ID: F48926893F475C25
4 changed files with 7 additions and 4 deletions

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
#logs in as Alex

2
npm-shrinkwrap.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@technicolor-creamsicle/osselbot", "name": "@technicolor-creamsicle/osselbot",
"version": "1.1.0", "version": "2.0.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -16,7 +16,7 @@
], ],
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "node ./src/index --TEST",
"start": "npm install; node ./src/index.js" "start": "npm install; node ./src/index.js"
}, },
"repository": { "repository": {

View File

@ -152,5 +152,10 @@ client.on("message", async message => {
}; };
}); });
if(process.argv.slice(2).includes("--TEST")) {
console.log("Test Pass!");
process.exit(0);
};
//Logging in the bot //Logging in the bot
client.login(config.token) client.login(config.token)