Browse Source

Add files via upload

Owyn 8 years ago
parent
commit
e5a21bdc27
3 changed files with 7 additions and 5 deletions
  1. 2 3
      index.js
  2. 2 2
      manifest.json
  3. 3 0
      module.json

+ 2 - 3
index.js

@@ -1,7 +1,6 @@
-const Command = require('command');
 
 module.exports = function boxOpener(dispatch){
-	const command = Command(dispatch)
+	const command = dispatch.command || dispatch.require.command;
 	
 	let	hooks = [],
 		enabled = false,
@@ -36,7 +35,7 @@ module.exports = function boxOpener(dispatch){
 		if(arg === "0")
 		{
 			useDelay = false;
-			delay = 5000;
+			delay = 5500;
 			command.message("Turning OFF minimum box opening delay, enjoy the speed");
 		}
 		else if(!isNaN(arg))

+ 2 - 2
manifest.json

@@ -1,8 +1,8 @@
 {
 	"files": {
 		"README.md": "4a82b827288a9d7f34cc1de1ff869ca1371d9a0144b960cf33f5501a56ff73b4",
-		"index.js": "a32718c4bc4896669ca5634fc92c722226da29d0a52055f781534deb8c6d4701",
-		"module.json": "cb69054956e016c0dacf318874c516004e364e276c354a442f3263739e3b6303"
+		"index.js": "40125055a280faa06ac65c67af54207430232edb1cc899a499caa42bd1f93c29",
+		"module.json": "2823b28e641c488a65f36d42df286a20941255640649b644ae0116ec88038072"
 	},
 	"defs": {
 		"C_GACHA_TRY": 1,

+ 3 - 0
module.json

@@ -1,5 +1,8 @@
 {
 	"disableAutoUpdate": false,
+	"name": "Generic Box Opener & Item user",
+	"author": "Owyn",
+	"description": "Opens boxes",
 	"options": { "niceName": "<font color='#FDD017'>Box</font>" },
 	"servers": ["https://raw.githubusercontent.com/Owyn/generic-box-opener-item-user/master/"],
 	"supportUrl": "https://github.com/Owyn/generic-box-opener-item-user/issues"