-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.example.js
More file actions
44 lines (39 loc) · 1.2 KB
/
Copy pathconfig.example.js
File metadata and controls
44 lines (39 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
global.token = ""
global.ownername = ""
global.ownerid = ""
global.premid = ""
global.botname = ""
global.prefix = ["/", ".", "#", "!"]
global.wib = 7
global.wait = "Please wait..."
global.wm = "© Ryzumi Network"
// Message
global.message = {
rowner: "This command can only be used by the _*OWNER!*_",
owner: "This command can only be used by the _*Bot Owner*_!",
premium: "This command is only for _*Premium*_ members!",
group: "This command can only be used in groups!",
private: "This command can only be used in Private Chat!",
admin: "This command can only be used by group admins!",
error: "An error occurred, please try again later.",
};
// Port configuration
global.ports = [4000, 3000, 5000, 8000];
// Database configuration
global.limit = 100;
// Maximum limit a user can have (cap). Daily reset will not exceed this.
global.limitMax = 200;
global.APIs = {
//lann: 'https://api.betabotz.eu.org',
ryzumi: 'https://api.ryzumi.vip',
}
global.APIKeys = {
//'https://api.betabotz.eu.org': 'API_KEY',
}
import fs from 'fs';
import chalk from 'chalk';
const file = new URL(import.meta.url);
fs.watchFile(file, () => {
fs.unwatchFile(file);
console.log(chalk.redBright(`Update 'config.js'`));
});