Update plugins/antiban.js
Browse files- plugins/antiban.js +3 -0
plugins/antiban.js
CHANGED
@@ -4,6 +4,9 @@ import { Database } from '../database/database.js';
|
|
4 |
import { predictCreationDate } from '../lib/create-date.js';
|
5 |
import { authenticateApiKey, apiLimiter } from '../middleware/midware.js';
|
6 |
const AntibanRoutes = express.Router();
|
|
|
|
|
|
|
7 |
|
8 |
const protectedUsers = [6477856957, 1191668125, 1448273246, 1054295664, 6444305696];
|
9 |
|
|
|
4 |
import { predictCreationDate } from '../lib/create-date.js';
|
5 |
import { authenticateApiKey, apiLimiter } from '../middleware/midware.js';
|
6 |
const AntibanRoutes = express.Router();
|
7 |
+
import * as uuid from 'uuid';
|
8 |
+
|
9 |
+
const myUUID = uuid.v4();
|
10 |
|
11 |
const protectedUsers = [6477856957, 1191668125, 1448273246, 1054295664, 6444305696];
|
12 |
|