|
@ -355,8 +355,8 @@ client.on('userUpdate', (oldUser, newUser) => { |
|
|
console.error; |
|
|
console.error; |
|
|
} |
|
|
} |
|
|
botLogsChannel = result.bot_logs_id; |
|
|
botLogsChannel = result.bot_logs_id; |
|
|
if (channel.guild.channels.cache.get(botLogsChannel)) { |
|
|
if (client.channels.cache.get(botLogsChannel)) { |
|
|
channel.guild.channels.cache.get(botLogsChannel).send(userUpdateEmbed).catch(console.error); |
|
|
client.channels.cache.get(botLogsChannel).send(userUpdateEmbed).catch(console.error); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|