aiprotocol-sbi 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,9 +124,6 @@ let SecurityService = class SecurityService {
|
|
|
124
124
|
const rateCheck = await this.checkRateLimit(botId, command);
|
|
125
125
|
if (!rateCheck.allowed)
|
|
126
126
|
return rateCheck;
|
|
127
|
-
const economyCheck = await this.checkNoDuplicateEconomy(botId);
|
|
128
|
-
if (!economyCheck.allowed)
|
|
129
|
-
return economyCheck;
|
|
130
127
|
return { allowed: true };
|
|
131
128
|
}
|
|
132
129
|
formatWindow(secs) {
|