mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-12-22 07:26:22 -05:00
lego?
This commit is contained in:
parent
80c6a2fe8c
commit
e0d2b5d291
2
npm-shrinkwrap.json
generated
2
npm-shrinkwrap.json
generated
@ -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": {
|
||||||
|
@ -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": {
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user