Forráskód Böngészése

Add more reactions; add ded users

denikson 6 éve
szülő
commit
b9fd7a6b8a
1 módosított fájl, 14 hozzáadás és 1 törlés
  1. 14 1
      main.js

+ 14 - 1
main.js

@@ -10,6 +10,8 @@ db._.mixin({
     randomElement: array => array[Math.floor(Math.random() * array.length)]
 });
 
+//https://cdn.discordapp.com/emojis/490234360558125057.png?v=1
+
 db.defaults({
     emotes: {
         angery: [
@@ -27,13 +29,21 @@ db.defaults({
             "489094428410249218",
             "489094553148850176",
             "489094604935790622",
-            "485109695846023209"
+            "485109695846023209",
+            "490234326210969624",
+            "490234276676239370",
+            "490234106370588681",
+            "490234821696815125"
         ],
         big: [
             "489773326386855937",
             "489771762351996928",
             "489771390279483394",
             "489773282036547599"
+        ],
+        ded: [
+            "490234399351373825",
+            "490234360558125057"
         ]
     },
     specialUsers: [
@@ -43,6 +53,7 @@ db.defaults({
     ],
     reactableMentionedUsers: ["307897683849510912"],
     bigUsers : ["432821242366656512"],
+    dedUsers: ["326520875027267584"],
     guides: [],
     editors: {
         roles: ["484046157971193866", "305844721622712322"],
@@ -182,6 +193,8 @@ client.on("message", m => {
             emoteType = "hug";
         else if(db.get("bigUsers").includes(m.author.id).value())
             emoteType = "big";
+        else if(db.get("dedUsers").includes(m.author.id).value())
+            emoteType = "big";
 
         const id = db
             .get("emotes")