diff --git a/src/discord/events/guildMemberUpdate.ts b/src/discord/events/guildMemberUpdate.ts index 7dc0bac30..e0ca59fdd 100644 --- a/src/discord/events/guildMemberUpdate.ts +++ b/src/discord/events/guildMemberUpdate.ts @@ -467,12 +467,12 @@ export const guildMemberUpdate: GuildMemberUpdateEvent = { // Find the difference between the two arrays const rolesAdded = newRoles.filter(x => !oldRoles.includes(x)); if (rolesAdded.length > 0) { - log.debug(F, `${rolesAdded.length} roles added`); + // log.debug(F, `${rolesAdded.length} roles added`); await roleAddProcess(newMember, oldMember, rolesAdded); } const rolesRemoved = oldRoles.filter(x => !newRoles.includes(x)); if (rolesRemoved.length > 0) { - log.debug(F, `${rolesRemoved.length} roles removed`); + // log.debug(F, `${rolesRemoved.length} roles removed`); await roleRemProcess(newMember, rolesRemoved); } } diff --git a/src/global/commands/g.learn.ts b/src/global/commands/g.learn.ts index df380623b..b16efa3d3 100644 --- a/src/global/commands/g.learn.ts +++ b/src/global/commands/g.learn.ts @@ -183,6 +183,7 @@ async function getMoodleUser( }); }).on('error', error => { log.error(F, `Error: ${error.message}`); + log.error(F, `URL: ${url}`); reject(error); }); });