1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-29 01:25:38 -05:00

Production move

This commit is contained in:
AnxietyisReal 2022-11-23 08:29:02 +11:00
parent bf1147294f
commit 511b070c39
6 changed files with 186 additions and 90 deletions

View File

@ -0,0 +1,58 @@
{
"embedColor": "#0052cf",
"embedColorGreen": "#57f287",
"embedColorYellow": "#ffea00",
"embedColorRed": "#e62c3b",
"embedColorBCA": "#ff69b4",
"LRSstart": 1661236321433,
"botSwitches": {
"registerCommands": true,
"commands": false,
"logs": true,
"automod": false,
"mpstats": false,
"mpstatsDebug": false,
"autores": false
},
"eval": {
"allowed": true,
"whitelist": [
"190407856527376384",
"615761944154210305"
]
},
"mainServer": {
"id": "549114074273677314",
"staffRoles": [
"admin",
"dcmod",
"mpmanager",
"mpmod",
"vtcmanager",
"vtcstaff",
"ytmod"
],
"roles": {
"admin": "987660171767595028",
"bottech": "904015815291056188",
"dcmod": "987660171767595028",
"mpmanager": "987660171767595028",
"mpmod": "904015815291056188",
"vtcmanager": "987660171767595028",
"vtcstaff": "904014418860453929",
"ytmod": "904014418860453929",
"mphelper": "904014418860453929",
"mpplayer": "904014418860453929",
"vtcmember": "904014418860453929"
},
"channels": {
"console": "904192878140608563",
"errors": "904192878140608563",
"bot_status": "904192878140608563",
"thismeanswar": "904192878140608563",
"logs": "904192878140608563",
"welcome": "904192878140608563",
"botcommands": "904192878140608563"
}
}
}

View File

@ -9,20 +9,25 @@
"registerCommands": true, "registerCommands": true,
"commands": false, "commands": false,
"logs": true, "logs": true,
"automod": false, "automod": true,
"mpstats": false, "mpstats": true,
"mpstatsDebug": false, "mpstatsDebug": false,
"autores": false "autores": true
}, },
"eval": { "eval": {
"allowed": true, "allowed": true,
"whitelist": [ "whitelist": [
"190407856527376384", "190407856527376384",
"615761944154210305" "615761944154210305",
"593696856165449749",
"633345781780185099",
"506022868157595648",
"215497515934416896",
"309373272594579456"
] ]
}, },
"mainServer": { "mainServer": {
"id": "549114074273677314", "id": "468835415093411861",
"staffRoles": [ "staffRoles": [
"admin", "admin",
"dcmod", "dcmod",
@ -33,26 +38,27 @@
"ytmod" "ytmod"
], ],
"roles": { "roles": {
"admin": "987660171767595028", "admin": "468842789053136897",
"bottech": "904015815291056188", "bottech": "1011341005389307925",
"dcmod": "987660171767595028", "dcmod": "468841295150972929",
"mpmanager": "987660171767595028", "mpmanager": "1028735939813585029",
"mpmod": "904015815291056188", "mpmod": "572151330710487041",
"vtcmanager": "987660171767595028", "vtcmanager": "1028735871370940490",
"vtcstaff": "904014418860453929", "vtcstaff": "801945627268481046",
"ytmod": "904014418860453929", "ytmod": "734888335851388958",
"mphelper": "904014418860453929", "mphelper": "1034453973412884500",
"mpplayer": "904014418860453929", "mpplayer": "798285830669598762",
"vtcmember": "904014418860453929" "vtcmember": "802282391652663338"
}, },
"channels": { "channels": {
"console": "904192878140608563", "console": "1011318687065710663",
"errors": "904192878140608563", "errors": "1009754872188506192",
"bot_status": "904192878140608563", "thismeanswar": "930588618085502987",
"thismeanswar": "904192878140608563", "bot_status": "1009753780188884992",
"logs": "904192878140608563", "logs": "548032776830582794",
"welcome": "904192878140608563", "welcome": "621134751897616406",
"botcommands": "904192878140608563" "botcommands": "468888722210029588"
} }
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
[[0,674965],[1,675885],[2,676639],[3,677245],[4,677609],[5,678188],[6,678916],[7,679465],[8,679938],[9,680540],[10,681614],[11,682079],[12,682780],[13,683187],[14,683547],[15,683900],[16,684592],[17,685466],[18,686078],[19,686481],[20,676748],[21,676968],[22,677427],[23,677592],[24,677894],[25,678116],[26,676785],[27,677570],[28,678491],[29,679137],[30,679818],[31,680094],[32,680417],[33,680783],[34,681563],[35,682070],[36,682670],[37,683504],[38,684078],[39,684383],[40,684692],[41,685448],[42,685664],[43,685994],[44,686366],[45,687118],[46,687626],[47,688008],[48,688754],[49,688942],[50,689107],[51,689472],[52,690143],[53,690644],[54,691124],[55,692196],[56,692624],[57,692906],[58,693456],[59,693952],[60,694586],[61,695070],[62,696163],[63,696564],[64,697315],[65,698548],[66,699138],[67,699558],[68,700307],[69,701063],[70,701394],[71,701868],[72,702453],[73,702917],[76,705187],[77,705243],[78,705488],[79,705961],[80,706585],[81,707467],[82,708212],[83,709024],[84,709773],[85,710256],[86,710980],[87,711220],[88,711428],[89,711840],[90,712595]] [[0,674965],[1,675885],[2,676639],[3,677245],[4,677609],[5,678188],[6,678916],[7,679465],[8,679938],[9,680540],[10,681614],[11,682079],[12,682780],[13,683187],[14,683547],[15,683900],[16,684592],[17,685466],[18,686078],[19,686481],[20,676748],[21,676968],[22,677427],[23,677592],[24,677894],[25,678116],[26,676785],[27,677570],[28,678491],[29,679137],[30,679818],[31,680094],[32,680417],[33,680783],[34,681563],[35,682070],[36,682670],[37,683504],[38,684078],[39,684383],[40,684692],[41,685448],[42,685664],[43,685994],[44,686366],[45,687118],[46,687626],[47,688008],[48,688754],[49,688942],[50,689107],[51,689472],[52,690143],[53,690644],[54,691124],[55,692196],[56,692624],[57,692906],[58,693456],[59,693952],[60,694586],[61,695070],[62,696163],[63,696564],[64,697315],[65,698548],[66,699138],[67,699558],[68,700307],[69,701063],[70,701394],[71,701868],[72,702453],[73,702917],[76,705187],[77,705243],[78,705488],[79,705961],[80,706585],[81,707467],[82,708212],[83,709024],[84,709773],[85,710256],[86,710980],[87,711220],[88,711428],[89,711840],[90,712595],[91,713063]]

View File

@ -1,50 +1,50 @@
{ {
"190407856527376384": { "190407856527376384": {
"messages": 53034, "messages": 53036,
"level": 59 "level": 59
}, },
"593696856165449749": { "593696856165449749": {
"messages": 51631, "messages": 51643,
"level": 58 "level": 58
}, },
"141304507249197057": { "141304507249197057": {
"messages": 67734, "messages": 67749,
"level": 67 "level": 67
}, },
"533707949831487488": { "533707949831487488": {
"messages": 57299, "messages": 57313,
"level": 61 "level": 61
}, },
"532662366354276352": { "532662366354276352": {
"messages": 33908, "messages": 33916,
"level": 47 "level": 47
}, },
"824043915539513406": { "824043915539513406": {
"messages": 18481, "messages": 18495,
"level": 35 "level": 35
}, },
"178941218510602240": { "178941218510602240": {
"messages": 6499, "messages": 6505,
"level": 20 "level": 20
}, },
"215497515934416896": { "215497515934416896": {
"messages": 33139, "messages": 33144,
"level": 47 "level": 47
}, },
"301350210926280704": { "301350210926280704": {
"messages": 14389, "messages": 14410,
"level": 30 "level": 30
}, },
"695323013813633076": { "695323013813633076": {
"messages": 14107, "messages": 14118,
"level": 30 "level": 30
}, },
"389237487094071337": { "389237487094071337": {
"messages": 12296, "messages": 12299,
"level": 28 "level": 28
}, },
"716355511552966737": { "716355511552966737": {
"messages": 9170, "messages": 9171,
"level": 24 "level": 24
}, },
"633345781780185099": { "633345781780185099": {
@ -64,7 +64,7 @@
"level": 18 "level": 18
}, },
"458688902102908928": { "458688902102908928": {
"messages": 6245, "messages": 6253,
"level": 20 "level": 20
}, },
"475037861725339649": { "475037861725339649": {
@ -72,11 +72,11 @@
"level": 26 "level": 26
}, },
"392699530912727041": { "392699530912727041": {
"messages": 4949, "messages": 4950,
"level": 18 "level": 18
}, },
"468837263577579524": { "468837263577579524": {
"messages": 7773, "messages": 7779,
"level": 22 "level": 22
}, },
"734703851558535188": { "734703851558535188": {
@ -84,15 +84,15 @@
"level": 36 "level": 36
}, },
"488683638310043677": { "488683638310043677": {
"messages": 15481, "messages": 15482,
"level": 32 "level": 32
}, },
"606595407769894995": { "606595407769894995": {
"messages": 23261, "messages": 23262,
"level": 39 "level": 39
}, },
"322835877027905547": { "322835877027905547": {
"messages": 10025, "messages": 10033,
"level": 25 "level": 25
}, },
"485793265568841728": { "485793265568841728": {
@ -148,7 +148,7 @@
"level": 0 "level": 0
}, },
"169891949464125441": { "169891949464125441": {
"messages": 548, "messages": 550,
"level": 6 "level": 6
}, },
"718453763932946432": { "718453763932946432": {
@ -160,7 +160,7 @@
"level": 13 "level": 13
}, },
"763803832542035978": { "763803832542035978": {
"messages": 695, "messages": 696,
"level": 6 "level": 6
}, },
"931816463113814066": { "931816463113814066": {
@ -200,7 +200,7 @@
"level": 0 "level": 0
}, },
"615761944154210305": { "615761944154210305": {
"messages": 3082, "messages": 3086,
"level": 14 "level": 14
}, },
"397101726047666197": { "397101726047666197": {
@ -228,8 +228,8 @@
"level": 2 "level": 2
}, },
"645342896312156181": { "645342896312156181": {
"messages": 731, "messages": 740,
"level": 6 "level": 7
}, },
"488505753133645826": { "488505753133645826": {
"messages": 10, "messages": 10,
@ -240,7 +240,7 @@
"level": 2 "level": 2
}, },
"848489550065827850": { "848489550065827850": {
"messages": 45, "messages": 46,
"level": 1 "level": 1
}, },
"862138850423472128": { "862138850423472128": {
@ -292,8 +292,8 @@
"level": 0 "level": 0
}, },
"283864360697331713": { "283864360697331713": {
"messages": 59, "messages": 60,
"level": 1 "level": 2
}, },
"481056143536553984": { "481056143536553984": {
"messages": 66, "messages": 66,
@ -340,7 +340,7 @@
"level": 1 "level": 1
}, },
"810517881392988220": { "810517881392988220": {
"messages": 27, "messages": 31,
"level": 1 "level": 1
}, },
"132183685658050561": { "132183685658050561": {
@ -456,7 +456,7 @@
"level": 0 "level": 0
}, },
"621354246452805633": { "621354246452805633": {
"messages": 64, "messages": 65,
"level": 2 "level": 2
}, },
"724352571333935154": { "724352571333935154": {
@ -528,7 +528,7 @@
"level": 0 "level": 0
}, },
"818595993121062974": { "818595993121062974": {
"messages": 51, "messages": 52,
"level": 1 "level": 1
}, },
"273755695680192513": { "273755695680192513": {
@ -540,7 +540,7 @@
"level": 0 "level": 0
}, },
"869718328313278555": { "869718328313278555": {
"messages": 113, "messages": 114,
"level": 2 "level": 2
}, },
"772197160372404234": { "772197160372404234": {
@ -700,7 +700,7 @@
"level": 0 "level": 0
}, },
"174851371114168320": { "174851371114168320": {
"messages": 18, "messages": 21,
"level": 1 "level": 1
}, },
"1014266691661877330": { "1014266691661877330": {
@ -820,7 +820,7 @@
"level": 0 "level": 0
}, },
"513009978315898891": { "513009978315898891": {
"messages": 26, "messages": 27,
"level": 1 "level": 1
}, },
"667815332047486978": { "667815332047486978": {
@ -1052,7 +1052,7 @@
"level": 0 "level": 0
}, },
"781289786143932499": { "781289786143932499": {
"messages": 111, "messages": 113,
"level": 2 "level": 2
}, },
"348617165135544321": { "348617165135544321": {
@ -1128,7 +1128,7 @@
"level": 0 "level": 0
}, },
"754849790096834603": { "754849790096834603": {
"messages": 35, "messages": 36,
"level": 1 "level": 1
}, },
"365571588676124693": { "365571588676124693": {
@ -1164,8 +1164,8 @@
"level": 0 "level": 0
}, },
"772756530416189440": { "772756530416189440": {
"messages": 40, "messages": 41,
"level": 0 "level": 1
}, },
"339498146608709634": { "339498146608709634": {
"messages": 6, "messages": 6,
@ -1280,7 +1280,7 @@
"level": 0 "level": 0
}, },
"837396359173636106": { "837396359173636106": {
"messages": 21, "messages": 25,
"level": 1 "level": 1
}, },
"985490601665503292": { "985490601665503292": {
@ -1340,7 +1340,7 @@
"level": 0 "level": 0
}, },
"98464148379148288": { "98464148379148288": {
"messages": 1619, "messages": 1621,
"level": 10 "level": 10
}, },
"1025723411680460840": { "1025723411680460840": {
@ -1472,7 +1472,7 @@
"level": 0 "level": 0
}, },
"889624632724963329": { "889624632724963329": {
"messages": 61, "messages": 62,
"level": 2 "level": 2
}, },
"687692546314600530": { "687692546314600530": {
@ -1560,7 +1560,7 @@
"level": 0 "level": 0
}, },
"1018003331890810990": { "1018003331890810990": {
"messages": 15, "messages": 20,
"level": 1 "level": 1
}, },
"999815021301334147": { "999815021301334147": {
@ -1656,7 +1656,7 @@
"level": 1 "level": 1
}, },
"937750032344571934": { "937750032344571934": {
"messages": 118, "messages": 119,
"level": 2 "level": 2
}, },
"873149038709571594": { "873149038709571594": {
@ -1724,7 +1724,7 @@
"level": 0 "level": 0
}, },
"796040852400635914": { "796040852400635914": {
"messages": 443, "messages": 454,
"level": 5 "level": 5
}, },
"1011307308325818438": { "1011307308325818438": {
@ -1735,10 +1735,6 @@
"messages": 3, "messages": 3,
"level": 0 "level": 0
}, },
"661959622751682570": {
"messages": 8,
"level": 0
},
"673289306424475659": { "673289306424475659": {
"messages": 131, "messages": 131,
"level": 2 "level": 2
@ -2187,10 +2183,6 @@
"messages": 1, "messages": 1,
"level": 0 "level": 0
}, },
"611550322535563264": {
"messages": 8,
"level": 0
},
"709694111975997460": { "709694111975997460": {
"messages": 4, "messages": 4,
"level": 0 "level": 0
@ -2500,7 +2492,7 @@
"level": 0 "level": 0
}, },
"490183428990304286": { "490183428990304286": {
"messages": 78, "messages": 79,
"level": 2 "level": 2
}, },
"787352638811013151": { "787352638811013151": {
@ -2535,17 +2527,13 @@
"messages": 5, "messages": 5,
"level": 0 "level": 0
}, },
"957738491444351046": {
"messages": 4,
"level": 0
},
"546309278948917258": { "546309278948917258": {
"messages": 2, "messages": 2,
"level": 0 "level": 0
}, },
"697953686487564348": { "697953686487564348": {
"messages": 130, "messages": 138,
"level": 2 "level": 3
}, },
"664233182941413427": { "664233182941413427": {
"messages": 19, "messages": 19,
@ -2700,7 +2688,7 @@
"level": 0 "level": 0
}, },
"995622955897864272": { "995622955897864272": {
"messages": 124, "messages": 127,
"level": 2 "level": 2
}, },
"153323923633733632": { "153323923633733632": {
@ -2876,7 +2864,7 @@
"level": 0 "level": 0
}, },
"857307866900856853": { "857307866900856853": {
"messages": 65, "messages": 67,
"level": 2 "level": 2
}, },
"454669639490732032": { "454669639490732032": {
@ -2884,7 +2872,7 @@
"level": 0 "level": 0
}, },
"267330887929036801": { "267330887929036801": {
"messages": 3, "messages": 4,
"level": 0 "level": 0
}, },
"869224089343107093": { "869224089343107093": {
@ -2894,5 +2882,49 @@
"399979737503498252": { "399979737503498252": {
"messages": 1, "messages": 1,
"level": 0 "level": 0
},
"808484899266101250": {
"messages": 7,
"level": 0
},
"872594828070899732": {
"messages": 1,
"level": 0
},
"1033529323447132170": {
"messages": 1,
"level": 0
},
"729576405108654192": {
"messages": 3,
"level": 0
},
"750343414247063613": {
"messages": 1,
"level": 0
},
"919123369184616528": {
"messages": 1,
"level": 0
},
"926836932082810900": {
"messages": 1,
"level": 0
},
"464481310392713226": {
"messages": 5,
"level": 0
},
"158381534804443136": {
"messages": 1,
"level": 0
},
"1037727430548410368": {
"messages": 2,
"level": 0
},
"514763740600729602": {
"messages": 1,
"level": 0
} }
} }

View File

@ -23,7 +23,7 @@ client.on('ready', async()=>{
}, 500000); }, 500000);
console.log(`${client.user.tag} has logged into Discord API and now ready for operation`); console.log(`${client.user.tag} has logged into Discord API and now ready for operation`);
console.log(client.config.botSwitches); console.log(client.config.botSwitches);
//(client.channels.resolve(client.config.mainServer.channels.bot_status) as Discord.TextChannel).send(`${client.user.username} is active\n\`\`\`json\n${Object.entries(client.config.botSwitches).map((hi)=>`${hi[0]}: ${hi[1]}`).join('\n')}\`\`\``); (client.channels.resolve(client.config.mainServer.channels.bot_status) as Discord.TextChannel).send(`${client.user.username} is active\n\`\`\`json\n${Object.entries(client.config.botSwitches).map((hi)=>`${hi[0]}: ${hi[1]}`).join('\n')}\`\`\``);
// Event handler // Event handler
const eventFiles = fs.readdirSync('src/events').filter(file=>file.endsWith('.ts')); const eventFiles = fs.readdirSync('src/events').filter(file=>file.endsWith('.ts'));