added auto invite creation

This commit is contained in:
CorwinDev committed 2022-08-13 08:26:49 +02:00
1 parent b8d67d588c
commit c348212aa9
7 files changed
+251 -37

No files matched your search

+3
View File
@@ -79,7 +79,10 @@ router.get('/:botID', async function (req, res) {
}
let coowner = new Array()
await bot.owners.forEach(async function (a) {
try{
var b = await global.bsl.users.fetch(a)
}catch(e){
}
if(!b) return;
coowner.push(b)
})