Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
52382d7
Update ai.js
C4Kitakyushu Mar 20, 2024
d759242
Update prefix.js
C4Kitakyushu Mar 20, 2024
e9ed333
Update help.js
C4Kitakyushu Mar 20, 2024
8e6e6de
Update adc.js
C4Kitakyushu Mar 20, 2024
e60c3ee
Update uptime.js
C4Kitakyushu Mar 20, 2024
62068c5
Update config.dev.json
C4Kitakyushu Mar 20, 2024
4c36664
Update config.dev.json
C4Kitakyushu Mar 20, 2024
2bcf752
C4Kitakyushu Mar 20, 2024
82755af
Update
C4Kitakyushu Mar 20, 2024
bb385d7
Update
C4Kitakyushu Mar 20, 2024
2fba8b8
Update configCommands.dev.txt
C4Kitakyushu Mar 20, 2024
e898c85
Update configCommands.json
C4Kitakyushu Mar 20, 2024
8c93294
Update config.dev.txt
C4Kitakyushu Mar 20, 2024
3c73128
Update config.json
C4Kitakyushu Mar 20, 2024
316a83f
Update account.dev.txt
C4Kitakyushu Mar 20, 2024
4f15be0
Update config.dev.txt
C4Kitakyushu Mar 20, 2024
2fa8f97
Update
C4Kitakyushu Mar 20, 2024
b25d1df
Update configCommands.dev.txt
C4Kitakyushu Mar 20, 2024
de9d9d6
Update
C4Kitakyushu Mar 20, 2024
29fd8fc
Update configCommands.dev.txt
C4Kitakyushu Mar 20, 2024
7efa7d9
Update configCommand.dev.json
C4Kitakyushu Mar 20, 2024
322679f
Update configCommands.dev.json
C4Kitakyushu Mar 20, 2024
59eb0dd
Update configCommand.dev.json
C4Kitakyushu Mar 20, 2024
40b17a3
Update configCommands.json
C4Kitakyushu Mar 20, 2024
0fdb78a
Update
C4Kitakyushu Mar 20, 2024
5e15538
Update help.js
C4Kitakyushu Mar 20, 2024
5ad9e30
Update help.js
C4Kitakyushu Mar 20, 2024
29f8ea4
Update ai.js
C4Kitakyushu Mar 23, 2024
c153e52
Update uptime.js
C4Kitakyushu Mar 23, 2024
4552183
Update help.js
C4Kitakyushu Mar 23, 2024
3c560f5
Update help.js
C4Kitakyushu Mar 23, 2024
7ac457b
Update prefix.js
C4Kitakyushu Mar 23, 2024
9355708
Update account.dev.txt
C4Kitakyushu Mar 23, 2024
be4013a
Update config.dev.json
C4Kitakyushu Mar 23, 2024
ee5beff
Update account.dev.txt
C4Kitakyushu Mar 23, 2024
e85cfc4
Update prefix.js
C4Kitakyushu Mar 23, 2024
064f7db
Update account.dev.txt
C4Kitakyushu Mar 23, 2024
90848a0
Update account.dev.txt
C4Kitakyushu Mar 26, 2024
d0693db
Update account.dev.txt
C4Kitakyushu Mar 27, 2024
6b37f44
Update ai.js
C4Kitakyushu Mar 31, 2024
aaf9b76
Update account.dev.txt
C4Kitakyushu Mar 31, 2024
a81ed0f
Update help.js
C4Kitakyushu Apr 3, 2024
ac6d2a8
Update help.js
C4Kitakyushu Apr 3, 2024
b4c1ed5
Update help.js
C4Kitakyushu Apr 3, 2024
03c5ec4
Update prefix.js
C4Kitakyushu Apr 3, 2024
7261e66
Update ai.js
C4Kitakyushu Apr 3, 2024
d994870
Update welcome.js
C4Kitakyushu Apr 3, 2024
ce2d48a
Update cmds
C4Kitakyushu Apr 3, 2024
b2656e5
Update cmds
C4Kitakyushu Apr 3, 2024
4f88961
Update cmds
C4Kitakyushu Apr 3, 2024
4d507f8
Update cmds
C4Kitakyushu Apr 3, 2024
0c66d49
Update uptime.js
C4Kitakyushu Apr 3, 2024
2e379c7
Update account.dev.txt
C4Kitakyushu Apr 3, 2024
a700c69
Update account.dev.txt
C4Kitakyushu Apr 3, 2024
149cddd
Update account.dev.txt
C4Kitakyushu Apr 3, 2024
befebb9
Update account.dev.txt
C4Kitakyushu Apr 3, 2024
f12f8e2
Update help.js
C4Kitakyushu Apr 3, 2024
015a516
Update config.dev.json
C4Kitakyushu Apr 4, 2024
5c0332a
Update account.dev.txt
C4Kitakyushu Apr 4, 2024
326a56b
Update account.dev.txt
C4Kitakyushu Apr 4, 2024
c4a0076
Update account.dev.txt
C4Kitakyushu Apr 4, 2024
852aa0f
Update account.dev.txt
C4Kitakyushu Apr 4, 2024
6cb086c
Update help.js
C4Kitakyushu Apr 4, 2024
694eb62
Update cmds
C4Kitakyushu Apr 4, 2024
eacffc9
Update cmds
C4Kitakyushu Apr 4, 2024
d378565
Update account.dev.txt
C4Kitakyushu Apr 4, 2024
94dcd87
Update account.dev.txt
C4Kitakyushu Apr 4, 2024
d2bf206
Update config.dev.json
C4Kitakyushu Apr 8, 2024
8dd1b74
Update ai.js
C4Kitakyushu Apr 8, 2024
26f11df
Update help.js
C4Kitakyushu Apr 8, 2024
1412ecc
Update prefix.js
C4Kitakyushu Apr 8, 2024
5a232d6
Update tempmail.js
C4Kitakyushu Apr 8, 2024
4f75aa6
Update uptime.js
C4Kitakyushu Apr 8, 2024
58838cb
Update account.dev.txt
C4Kitakyushu Apr 8, 2024
1a16d15
Update account.dev.txt
C4Kitakyushu Apr 8, 2024
ba20c19
Update account.dev.txt
C4Kitakyushu Apr 8, 2024
8cb79fd
Update tia.js
C4Kitakyushu Apr 8, 2024
7d343b8
Update uid.js
C4Kitakyushu Apr 8, 2024
4a0788d
Update help.js
C4Kitakyushu Apr 8, 2024
87a7f37
Update account.dev.txt
C4Kitakyushu Apr 8, 2024
5d0fbbb
Update account.dev.txt
C4Kitakyushu Apr 23, 2024
e2e12ff
Update config.dev.json
C4Kitakyushu Apr 23, 2024
b78a35c
Update config.dev.json
C4Kitakyushu Apr 23, 2024
2e500d6
Update adc.js
C4Kitakyushu Apr 23, 2024
1f5e5d7
Update help.js
C4Kitakyushu Apr 23, 2024
a954242
Update tempmail.js
C4Kitakyushu Apr 23, 2024
ed3e02a
Update cmds
C4Kitakyushu Apr 23, 2024
00ff5e4
Update uptime.js
C4Kitakyushu Apr 23, 2024
973028e
Update cmds
C4Kitakyushu Apr 23, 2024
9bddb72
Update welcome.js
C4Kitakyushu Apr 23, 2024
d5c14be
Update cmds
C4Kitakyushu Apr 23, 2024
0d8f11a
Update notification.js
C4Kitakyushu Apr 23, 2024
a86f261
Update tia.js
C4Kitakyushu Apr 23, 2024
5f13f74
Update prefix.js
C4Kitakyushu Apr 23, 2024
6618376
Update ai.js
C4Kitakyushu Apr 23, 2024
b66dd25
Update cmds
C4Kitakyushu Apr 23, 2024
d525390
Update cmds
C4Kitakyushu Apr 23, 2024
3b06523
Update cmds
C4Kitakyushu Apr 23, 2024
abff638
Update cmds
C4Kitakyushu Apr 23, 2024
d0e21c6
Update config.dev.json
C4Kitakyushu Apr 23, 2024
5e5a556
Update notification.js
C4Kitakyushu Apr 23, 2024
97e7fbc
Update help.js
C4Kitakyushu Apr 23, 2024
c02753f
Update help.js
C4Kitakyushu Apr 23, 2024
8286b1c
Update prefix.js
C4Kitakyushu Apr 23, 2024
fff9a71
Update account.dev.txt
C4Kitakyushu Apr 25, 2024
d4d6957
Update account.dev.txt
C4Kitakyushu Apr 26, 2024
f7d79a5
Update account.dev.txt
C4Kitakyushu Apr 26, 2024
021134e
Update account.dev.txt
C4Kitakyushu Apr 26, 2024
31cf4c7
Update account.dev.txt
C4Kitakyushu Apr 30, 2024
6abc1ac
Update account.dev.txt
C4Kitakyushu Apr 30, 2024
20bca97
Update help.js
C4Kitakyushu Apr 30, 2024
128554b
Update account.dev.txt
C4Kitakyushu Apr 30, 2024
0b048fd
Update account.dev.txt
C4Kitakyushu Apr 30, 2024
34d0c25
Update account.dev.txt
C4Kitakyushu Apr 30, 2024
5d04a0f
Update account.dev.txt
C4Kitakyushu May 11, 2024
097fa19
Update help.js
C4Kitakyushu May 11, 2024
64aa504
Update ai.js
C4Kitakyushu May 11, 2024
08671c8
Update uptime.js
C4Kitakyushu May 11, 2024
928b8d1
Update help.js
C4Kitakyushu May 11, 2024
c246337
Update config.dev.json
C4Kitakyushu May 11, 2024
f4620fa
Update account.dev.txt
KianLawley May 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions account.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
[
{
"key": "dbln",
"value": "%7B%2261558668417023%22%3A%22U6UZhRDe%22%7D",
"domain": "facebook.com",
"path": "/login/device-based/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.580Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "datr",
"value": "VoE_Zqvkohm_icg8eRaS5D6Z",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "sb",
"value": "VoE_ZruvsiFn13SjX6BbJ_fO",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "m_pixel_ratio",
"value": "2",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "fr",
"value": "0z6pyMjisN2QRaBlk.AWW6a3OxPyp2PdnrQerJWLv7zVI.BmP4FW..AAA.0.0.BmP4GO.AWUbfStZHY8",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "c_user",
"value": "61558668417023",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "xs",
"value": "27%3A4aX30Zjy3j1QUg%3A2%3A1715437967%3A-1%3A7821",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "x-referer",
"value": "eyJyIjoiL2Vycm9yL2luZGV4LnBocD9lcnI9ZWMma2Vycj0xMzU3MDA0JmtlcnJfc3VtbWFyeT1Tb3JyeSUyQyUyMHNvbWV0aGluZyUyMHdlbnQlMjB3cm9uZyZrZXJyX2Rlc2NyaXB0aW9uPVBsZWFzZSUyMHRyeSUyMGNsb3NpbmclMjBhbmQlMjByZS1vcGVuaW5nJTIweW91ciUyMGJyb3dzZXIlMjB3aW5kb3cuIiwiaCI6Ii9lcnJvci9pbmRleC5waHA%2FZXJyPWVjJmtlcnI9MTM1NzAwNCZrZXJyX3N1bW1hcnk9U29ycnklMkMlMjBzb21ldGhpbmclMjB3ZW50JTIwd3Jvbmcma2Vycl9kZXNjcmlwdGlvbj1QbGVhc2UlMjB0cnklMjBjbG9zaW5nJTIwYW5kJTIwcmUtb3BlbmluZyUyMHlvdXIlMjBicm93c2VyJTIwd2luZG93LiIsInMiOiJtIn0%3D",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "m_page_voice",
"value": "61558668417023",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "wd",
"value": "360x680",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "locale",
"value": "en_US",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "fbl_st",
"value": "101425690%3BT%3A28590632",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "wl_cbv",
"value": "v2%3Bclient_version%3A2496%3Btimestamp%3A1715437972",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
},
{
"key": "vpd",
"value": "v1%3B680x360x2",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2024-05-11T14:33:15.585Z",
"lastAccessed": "2024-05-11T14:33:15.585Z"
}
]
141 changes: 141 additions & 0 deletions config.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"facebookAccount": {
"email": "",
"password": "",
"2FASecret": "",
"i_user": "",
"proxy": null,
"userAgent": "Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36",
"intervalGetNewCookie": 4320,
"notes": "time the system automatically retrieves new cookies from email/password, unit is minute, if you set null, the system will not automatically retrieve new cookies, it saves you from having to manually change your cookie every time it expires. recommended set to 1440 (1day) or 4320 (3day).TO BE ABLE TO USE THIS FEATURE YOU NEED TO ENTER THE ACCOUNT PASSWORD ABOVE"
},
"antiInbox": false,
"language": "en",
"notesLanguage": "change to your language with ISO 639-1 code, available languages: vi (Vietnamese), en (English)",
"adminOnly": {
"enable": false,
"ignoreCommand": []
},
"adminBot": [
"YOUR UID"
],
"whiteListMode": {
"enable": false,
"whiteListIds": [],
"notes": "if you enable this feature, only the ids in the whiteListIds section can use the bot"
},
"nickNameBot": "BOT NAME",
"prefix": "-",
"database": {
"type": "sqlite",
"uriMongodb": "",
"autoSyncWhenStart": false,
"autoRefreshThreadInfoFirstTime": true,
"notes": "(1) type selects 'json' or 'sqlite' or 'mongodb'. If you choose mongodb, enter uri connect mongodb in the uriMongodb section, instructions to get uri connect mongodb at: https://youtu.be/z1f9urHW5xY. I recommend using 'mongodb' or 'sqlite', json is not recommended because it is not stable. (2) when you set autoSyncWhenStart to true, the bot will automatically synchronize the data in the database when starting the bot, this will make the bot start slower. (3) when you set autoRefreshThreadInfoFirstTime to true, the bot will automatically refresh the thread information when get first message from the thread since starting the bot"
},
"timeZone": "Asia/Ho_Chi_Minh",
"credentials": {
"gmailAccount": {
"email": "kramn1205@gmail.com",
"clientId": "407168939339-ni7uvp8054bpnht4280n6d3no4qrf3mv.apps.googleusercontent.com",
"clientSecret": "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",
"refreshToken": "1//041Aj0DBzlyxuCgYIARAAGAQSNwF-L9IrSJFfXahDmIC5CaNNthQwg0yT8ZrFaUUofZBR13qsh-nNBLi7_4LZMlZ00F8AiWo6Moo",
"apiKey": ""
},
"gRecaptcha": {
"siteKey": "6LdtgYMoAAAAABS1V6_RlEsUXf7dNLIzbc4EPhbt",
"secretKey": "6LdtgYMoAAAAAKXtH5f06qZBq28VXXqOb6rOSGQ5"
}
},
"dashBoard": {
"enable": true,
"expireVerifyCode": 300000,
"port": 3001
},
"serverUptime": {
"enable": false,
"port": 3001,
"socket": {
"enable": true,
"channelName": "uptime",
"verifyToken": ""
}
},
"autoRestart": {
"time": false,
"notes": "you can set time is interval with milisecond or cron time, example: 1000, 10000, 60000, 3600000, 86400000, 0 0 * * *,... docs: https://www.npmjs.com/package/node-cron. If you set time is 0 or false or null, the bot will not auto restart"
},
"autoUptime": {
"enable": false,
"timeInterval": 180,
"url": "",
"notes": "the value of timeInterval is seconds, url is the url you want to send the request to (automatically detected for hosting glitch or replit)"
},
"autoLoadScripts": {
"enable": false,
"ignoreCmds": "",
"ignoreEvents": "",
"notes": "this feature will automatically load the script when scripts have been changed, you can set ignoreCmds to ignore commands, ignoreEvents to ignore events, separate by comma or space, example: \"cmd1.js cmd2.js cmd3.js\" (without backslash)"
},
"autoRefreshFbstate": true,
"autoReloginWhenChangeAccount": false,
"autoRestartWhenListenMqttError": false,
"restartListenMqtt": {
"enable": true,
"timeRestart": 3600000,
"delayAfterStopListening": 2000,
"logNoti": true,
"notes": "the value of timeRestart and delayAfterStopListening is milisecond, You shouldn't edit this if you don't know what it is"
},
"notiWhenListenMqttError": {
"notes": "This is the message when the bot is listening to the mqtt server and the mqtt server stops working due to account problems such as: locked acc, blocked due to spam,... bot will automatically send notifications to parts of your settings. You must change enable to true to use this feature. See bot/login/handlerWhenListenHasError.js file for details on how it works",
"gmail": {
"enable": false,
"emailGetNoti": "",
"note": "Bot will use gmailAccount to send email to emailGetNoti, can send notifications to many email, separate by comma or space, example: \"example1@gmail.com example2@gmail.com\" (without backslash)"
},
"telegram": {
"enable": false,
"botToken": "",
"chatId": "",
"note": "Can send notifications to many chatId, separate by comma or space, example: \"123456789 987654321\" (without backslash)"
},
"discordHook": {
"enable": false,
"webhookUrl": "",
"note": "Can send notifications to many webhookUrl, separate by comma or space, example: \"https://discord.com/api/webhooks/123456789/123456789 https://discord.com/api/webhooks/987654321/987654321\" (without backslash)"
}
},
"hideNotiMessage": {
"commandNotFound": false,
"adminOnly": false,
"threadBanned": false,
"userBanned": false,
"needRoleToUseCmd": false,
"needRoleToUseCmdOnReply": false,
"needRoleToUseCmdOnReaction": false
},
"logEvents": {
"disableAll": false,
"message": true,
"message_reaction": true,
"message_unsend": true,
"message_reply": true,
"event": true,
"read_receipt": false,
"typ": false,
"presence": false
},
"optionsFca": {
"forceLogin": true,
"listenEvents": true,
"updatePresence": true,
"listenTyping": true,
"logLevel": "error",
"selfListen": false,
"selfListenEvent": true,
"autoMarkDelivery": false,
"autoReconnect": false,
"notes": "Document here: https://github.com/ntkhang03/fb-chat-api/blob/master/DOCS.md#apisetoptionsoptions "
}
}
1 change: 1 addition & 0 deletions config.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.
Loading