botJS #1

Merged
Starthur merged 12 commits from botJS into main 2022-05-27 09:49:52 +02:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit d4127f25ce - Show all commits

2
bot.js
View File

@ -42,12 +42,10 @@ async function remove_notlogged(){
let members = guild.members.cache; let members = guild.members.cache;
members.forEach(async (key, value) => { members.forEach(async (key, value) => {
var r = false; var r = false;
console.log("---------------------\nkey : %s\nvalue : %s", key, value);
v.forEach((jkey, jvalue) => { v.forEach((jkey, jvalue) => {
if (jvalue == key) if (jvalue == key)
r = true; r = true;
}) })
console.log(r + "\n---------------------");
if (r == false) if (r == false)
{ {
let user = await guild.members.fetch(key); let user = await guild.members.fetch(key);