Browse Source

Add files via upload

Snugglez 6 years ago
parent
commit
28095bfd2a
2 changed files with 4 additions and 4 deletions
  1. 2 2
      index.js
  2. 2 2
      manifest.json

+ 2 - 2
index.js

@@ -1,6 +1,6 @@
 module.exports = function justspamf(d) {
-  d.hook('S_DIALOG', 2, (e) => {
-    for (let i = 0; i < e.options.length; i++) {e.options[i].style = 43}
+  d.hook('S_DIALOG', 3, (e) => {
+    for (let i = 0; i < e.buttons.length; i++) { if ([1, 2, 4, 5, 51, 53, 54, 55, 56, 63].includes(e.buttons[i].type)) e.buttons[i].type = 43 }
     e.type = 1
     return true
   })

+ 2 - 2
manifest.json

@@ -1,9 +1,9 @@
 {
 	"files": {
 		"README.md": "316aa12aaf8aae78c3ff92ab4c97c75c1fa07872be1eed3e47b7853622317913",
-		"index.js": "927d90b15411759a56e4a177ae725ea39fa8a632aadec18176782d3abd46a4b0"
+		"index.js": "5c1eb334f8e3f2839c2fb266098a544fc71c8484779a034c38c5788200d7d467"
 	},
 	"defs": {
-		"S_DIALOG": 2
+		"S_DIALOG": 3
 	}
 }