-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathsettings.js
72 lines (60 loc) · 2.03 KB
/
settings.js
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//base by HaroldMth/HansTech
//YouTube: @HansTech0
//Instagram: NULL
//Telegram: t.me/HansTech0
//want more free bot ? subscribe to my youtube channel: https://youtube.com/@HansTech0
const fs = require('fs')
const chalk = require('chalk')
//contact details
global.ownernomer = "237696900612"
global.ownername = "*Hans Tech"
global.ytname = "YT: HansTech0"
global.socialm = ""
global.location = "EARTH,AFRICA"
global.ownernumber = '237696900612' //creator number
global.ownername = 'Harold MTH' //owner name
global.botname = 'Hans-Bug-bot' //name of the bot
//sticker details
global.packname = 'Sticker By Hans Tech'
global.author = 'Hallo\n\nContact: 237696900612'
//console view/theme
global.themeemoji = '😎'
global.wm = "Hans Tech😏"
//theme link
global.link = 'https://whatsapp.com/channel/0029VaZDIdxDTkKB4JSWUk1O'
//custom prefix
global.prefa = ['','!','.','#','&']
//false=disable and true=enable
global.autoRecording = false //auto recording
global.autoTyping = true //auto typing
global.autorecordtype = false //auto typing + recording
global.autoread = false //auto read messages
global.autobio = false //auto update bio
global.anti92 = false //auto block +92
global.autoswview = false //auto view status/story
//menu type
//v1 is image menu,
//v2 is link + image menu,
//v3 is video menu,
//v4 is call end menu
global.typemenu = 'v1'
//reply messages
global.mess = {
done: 'Done !',
prem: 'This feature can be used by premium user only',
admin: 'This feature can be used by admin only',
botAdmin: 'This feature can only be used when the bot is a group admin ',
owner: 'This feature can be used by owner only',
group: 'This feature is only for groups',
private: 'This feature is only for private chats',
wait: 'In process... ',
error: 'Error!',
}
global.thumb = fs.readFileSync('./modsMedia/thumb.jpg')
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
console.log(chalk.redBright(`Update'${__filename}'`))
delete require.cache[file]
require(file)
})