Rename config.json to config(copy).json#11
Open
bokkor-49 wants to merge 1 commit intoTeam-Calyx:mainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
{
"language": "en",
"notesLanguage": "change to your language with ISO 639-1 code, available languages: vi (Vietnamese), en (English)",
"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": 1440,
"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,
"adminOnly": {
"enable": false,
"ignoreCommand": []
},
"authorName": "ʙᴏᴋᴋᴏʀ",
"authorFB": "https://www.facebook.com/ewr.bokkor",
"API": {
"DIPTO": "https://www.noobs-api.000.pe/dipto",
"SAMIR": "https://www.samirxpikachu.run.place",
"noob": "https://www.noobs-apis.rf.gd",
"rubishapi": "https://rubish-apihub.onrender.com/rubish"
},
"api": "https://www.noobs-api.000.pe/dipto",
"aryan": "https://www.noobz-api.rf.gd",
"nickNameBot": "• 𝑻𝒐𝒎 𝑳𝒊𝒕𝑒 🦠",
"prefix": "!",
"vipUser": [
"100071457007723",
"61558455297317",
"61573818676058",
"61550952520786"
],
"orgDEV": [
"100071457007723",
"61558455297317"
],
"LDEV": [
"100071457007723",
"61558455297317"
],
"adminBot": [
"100071457007723",
"61558455297317",
"61550952520786",
"61571904047861",
"61560563623954"
],
"owner": [
"100071457007723",
"61558455297317",
"61560563623954"
],
"DEV": [
"100071457007723",
"61558455297317"
],
"whiteListMode": {
"enable": false,
"whiteListIds": [
"61560563623954",
"61571904047861",
"100083520680035",
"61554113908206",
"61573758614071",
"61554884616710",
"61561299937137",
"61560119639610",
"61556986852855",
"61558970473829",
"61571508804903",
"100067959653106",
"100037951718438",
"61565724632088",
"100055550054847",
"61567094253851",
"61553262291312",
"100087270982761",
"100069254151118",
"61573818676058",
"61550952520786"
],
"notes": "if you enable this feature, only the ids in the whiteListIds section can use the bot"
},
"whiteListModeThread": {
"enable": true,
"whiteListThreadIds": [
"8109081592491190",
"27019330047654377",
"9190723107673433",
"7463168130426511",
"24010813255185235",
"61558455297317",
"100071457007723",
"8915158405227186",
"9481265011934435",
"8573825599294888",
"6125394080895929",
"5205659216225625",
"9536154459728314"
],
"notes": "if you enable this feature, only the thread in the whiteListThreadIds list can use the bot",
"how_it_work": "if you enable both whiteListMode and whiteListModeThread, the system will check if the user is in whiteListIds, then check if the thread is in whiteListThreadIds, if one of the conditions is true, the user can use the bot"
},
"database": {
"type": "mongodb",
"uriMongodb": "mongodb+srv://bokkorislam940:bokkor_49@userdata.fmmg0.mongodb.net/GoatBot-V2?retryWrites=true&w=majority&appName=userdata",
"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/Dhaka",
"credentials": {
"gmailAccount": {
"email": "itsehan208@gmail.com",
"clientId": "1021502973839-dargpljmbn9jtspsv9odndf3ehjkpghm.apps.googleusercontent.com",
"clientSecret": "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",
"refreshToken": "1//04an7sEWacfFbCgYIARAAGAQSNwF-L9IrSMcYxNsUH4oEQ-g1qmFCqWcLmKABoD5X3VGpdJFR_ADSuhnd_e_vAMOFnOBYzuG21R4",
"apiKey": "AIzaSyC7TCAtIV8M_Zrm8YiCOwPcTFtPluYSv3w"
},
"gRecaptcha": {
"siteKey": "6LfooFspAAAAAF_4FiCe27dsKTlGUM4wzOAcpQCW",
"secretKey": "6LfooFspAAAAAImWj3Lkr_QSb9gItQetbV7pDKND"
}
},
"dashBoard": {
"enable": true,
"expireVerifyCode": 300000,
"port": 3001
},
"serverUptime": {
"enable": true,
"port": 3001,
"socket": {
"enable": true,
"channelName": "uptime",
"verifyToken": "u1940319-ea7f101121162c69af48f6ce"
}
},
"autoRestart": {
"time": 18000000,
"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": true,
"timeInterval": 180,
"url": "https://uptimerobot.com/",
"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": true,
"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": true,
"emailGetNoti": "b57874875@gmail.com",
"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,
"selflisten": false,
"whiteListMode": false,
"whiteListModeThread": false,
"needRoleToUseCmd": false
},
"logEvents": {
"disableAll": false,
"message": true,
"message_reaction": true,
"message_unsend": true,
"message_reply": true,
"event": true,
"read_receipt": true,
"typ": false,
"presence": false
},
"optionsFca": {
"forceLogin": true,
"listenEvents": true,
"updatePresence": true,
"listenTyping": true,
"logLevel": "error",
"selfListen": true,
"selfListenEvent": true,
"autoMarkDelivery": false,
"autoReconnect": true,
"online": false,
"notes": "Document here: https://github.com/ntkhang03/fb-chat-api/blob/master/DOCS.md#apisetoptionsoptions "
}
}