@neoxr/wb 2.6.6 → 3.0.0
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.
- package/Utils/Cmd.js +2 -0
- package/Utils/Connection.js +2 -0
- package/Utils/Connector.js +2 -0
- package/Utils/Converter.js +2 -0
- package/Utils/Cooldown.js +2 -0
- package/Utils/Exif.js +2 -0
- package/Utils/Function.js +2 -0
- package/Utils/Loader.js +2 -0
- package/Utils/Local.js +2 -0
- package/Utils/Logs.js +2 -0
- package/Utils/Message.js +2 -0
- package/Utils/Mongo.js +2 -0
- package/{system/multidb.js → Utils/Multi.js} +1 -0
- package/{system/pg.js → Utils/Postgre.js} +1 -0
- package/Utils/Queue.js +2 -0
- package/Utils/Scraper.js +2 -0
- package/Utils/Serialize.js +2 -0
- package/Utils/Session.js +2 -0
- package/Utils/Spam.js +2 -0
- package/Utils/Store.js +2 -0
- package/Utils/_Connection.js +2 -0
- package/Utils/_Serialize.js +2 -0
- package/Utils/_Store.js +2 -0
- package/example/index.js +3 -1
- package/example/package.json +3 -3
- package/index.js +23 -29
- package/package.json +1 -1
- package/auto-language/baileys.js +0 -1
- package/auto-language/index.js +0 -33
- package/host/baileys.js +0 -1
- package/host/index.js +0 -31
- package/system/baileys.js +0 -1
- package/system/converter.js +0 -81
- package/system/cooldown.js +0 -1
- package/system/exif.js +0 -133
- package/system/functions.js +0 -1257
- package/system/logs.js +0 -1
- package/system/mongo.js +0 -84
- package/system/neoxr.js +0 -1
- package/system/neoxrApi.js +0 -1
- package/system/queue.js +0 -22
- package/system/scraper.js +0 -381
- package/system/spamDetector.js +0 -1
- package/system/translator.js +0 -1
- package/system/youtube.js +0 -1
package/host/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
require('dotenv').config()
|
|
2
|
-
const { Baileys, Scandir, InvCloud } = require('./baileys')
|
|
3
|
-
const Converter = new (require('../system/converter'))
|
|
4
|
-
const Function = new (require('../system/functions'))
|
|
5
|
-
const Scraper = new (require('../system/scraper'))
|
|
6
|
-
const MongoDB = /mongo/.test(process.env.DATABASE_URL) && process.env.DATABASE_URL ? new (require('../system/mongo')) : false
|
|
7
|
-
const PostgreSQL = /postgres/.test(process.env.DATABASE_URL) && process.env.DATABASE_URL ? new (require('../system/pg')) : false
|
|
8
|
-
const Dataset = process.env.DATABASE_URL ? new (require('../system/multidb')) : false
|
|
9
|
-
const Logs = require('../system/logs')
|
|
10
|
-
const NeoxrCommands = new (require('../system/neoxr'))
|
|
11
|
-
const NeoxrApi = require('@neoxr/api')
|
|
12
|
-
const Queue = require('../system/queue')
|
|
13
|
-
const Cooldown = require('../system/cooldown')
|
|
14
|
-
const Spam = require('../system/spamDetector')
|
|
15
|
-
module.exports = class Component {
|
|
16
|
-
Baileys = Baileys
|
|
17
|
-
Converter = Converter
|
|
18
|
-
Function = Function
|
|
19
|
-
Scraper = Scraper
|
|
20
|
-
MongoDB = MongoDB
|
|
21
|
-
PostgreSQL = PostgreSQL
|
|
22
|
-
Dataset = Dataset
|
|
23
|
-
Scandir = Scandir
|
|
24
|
-
InvCloud = InvCloud
|
|
25
|
-
Logs = Logs
|
|
26
|
-
NeoxrCommands = NeoxrCommands
|
|
27
|
-
NeoxrApi = NeoxrApi
|
|
28
|
-
Queue = Queue
|
|
29
|
-
Cooldown = Cooldown
|
|
30
|
-
Spam = Spam
|
|
31
|
-
}
|