|
@@ -28,6 +28,12 @@ db.defaults({
|
|
"489094553148850176",
|
|
"489094553148850176",
|
|
"489094604935790622",
|
|
"489094604935790622",
|
|
"485109695846023209"
|
|
"485109695846023209"
|
|
|
|
+ ],
|
|
|
|
+ big: [
|
|
|
|
+ "489773326386855937",
|
|
|
|
+ "489771762351996928",
|
|
|
|
+ "489771390279483394",
|
|
|
|
+ "489773282036547599"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
specialUsers: [
|
|
specialUsers: [
|
|
@@ -35,7 +41,8 @@ db.defaults({
|
|
"307897683849510912",
|
|
"307897683849510912",
|
|
"335898304472678402"
|
|
"335898304472678402"
|
|
],
|
|
],
|
|
- reactableMentionedUsers: ["307897683849510912", "335898304472678402"],
|
|
|
|
|
|
+ reactableMentionedUsers: ["307897683849510912"],
|
|
|
|
+ bigUsers : ["432821242366656512"],
|
|
guides: [],
|
|
guides: [],
|
|
editors: {
|
|
editors: {
|
|
roles: ["484046157971193866", "305844721622712322"],
|
|
roles: ["484046157971193866", "305844721622712322"],
|
|
@@ -167,12 +174,12 @@ client.on("message", m => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- const emoteType = db
|
|
|
|
- .get("specialUsers")
|
|
|
|
- .includes(m.author.id)
|
|
|
|
- .value()
|
|
|
|
- ? "hug"
|
|
|
|
- : "angery";
|
|
|
|
|
|
+ let emoteType = "angery";
|
|
|
|
+ if(db.get("specialUsers").includes(m.author.id).value())
|
|
|
|
+ emoteType = "hug";
|
|
|
|
+ else if(db.get("bigUsers").includes(m.author.id).value())
|
|
|
|
+ emoteType = "big";
|
|
|
|
+
|
|
const id = db
|
|
const id = db
|
|
.get("emotes")
|
|
.get("emotes")
|
|
.get(emoteType)
|
|
.get(emoteType)
|