|
@@ -151,7 +151,7 @@ const onDirectMention = (msg, content, actionsDone) => {
|
|
|
|
|
|
let todayQuota = db.get("faceEditInfo.todayRequests").value();
|
|
let todayQuota = db.get("faceEditInfo.todayRequests").value();
|
|
let maxQuota = db.get("faceEditInfo.customRequestsPerDay").value();
|
|
let maxQuota = db.get("faceEditInfo.customRequestsPerDay").value();
|
|
-
|
|
|
|
|
|
+
|
|
if (todayQuota >= maxQuota) {
|
|
if (todayQuota >= maxQuota) {
|
|
msg.channel.send(`${msg.author.toString()} Nice image, but I can't do anything to it! (Daily quota hit)`);
|
|
msg.channel.send(`${msg.author.toString()} Nice image, but I can't do anything to it! (Daily quota hit)`);
|
|
return true;
|
|
return true;
|