botJS #1
2
bot.js
2
bot.js
|
@ -42,12 +42,10 @@ async function remove_notlogged(){
|
|||
let members = guild.members.cache;
|
||||
members.forEach(async (key, value) => {
|
||||
var r = false;
|
||||
console.log("---------------------\nkey : %s\nvalue : %s", key, value);
|
||||
v.forEach((jkey, jvalue) => {
|
||||
if (jvalue == key)
|
||||
r = true;
|
||||
})
|
||||
console.log(r + "\n---------------------");
|
||||
if (r == false)
|
||||
{
|
||||
let user = await guild.members.fetch(key);
|
||||
|
|
Loading…
Reference in New Issue