mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-12-21 23:16:23 -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",
|
||||
"version": "1.1.0",
|
||||
"version": "2.0.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -16,7 +16,7 @@
|
||||
],
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "node ./src/index --TEST",
|
||||
"start": "npm install; node ./src/index.js"
|
||||
},
|
||||
"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
|
||||
client.login(config.token)
|
||||
|
Loading…
Reference in New Issue
Block a user