stoopid errors

master
Kit Kasune 3 years ago
parent e96bcf6fec
commit a8d88d3b14
  1. 2
      events/guildMemberAdd.js
  2. 2
      events/guildMemberRemove.js

@ -14,6 +14,6 @@ module.exports = async (client, member) => {
&& member.guild.channels.cache.get(tg.wch).permissionsFor(client.user.id).has("SEND_MESSAGES")
&& !client.users.cache.get(member.id).bot
) {
try {member.guild.channels.cache.get(tg.wch).send(await sendResponse(member, member.guild.channels.cache.get(tg.wch), 'xdlol', client, tr.responses.get(tr.bindings.get('welcome'))).catch(() => {}));} catch {}
try {member.guild.channels.cache.get(tg.wch).send(await sendResponse(member, member.guild.channels.cache.get(tg.wch), 'xdlol', client, tr.responses.get(tr.bindings.get('welcome'))).catch(() => {})).catch(() => {});} catch {}
}
};

@ -11,6 +11,6 @@ module.exports = async (client, member) => {
&& member.guild.channels.cache.get(tg.lch).permissionsFor(client.user.id).has("SEND_MESSAGES")
&& !client.users.cache.get(member.id).bot
) {
try {member.guild.channels.cache.get(tg.lch).send(await sendResponse(member, member.guild.channels.cache.get(tg.lch).catch(() => {}), 'xdlol', client, tr.responses.get(tr.bindings.get('leave')))).catch(() => {});} catch {}
try {member.guild.channels.cache.get(tg.lch).send(await sendResponse(member, member.guild.channels.cache.get(tg.lch), 'xdlol', client, tr.responses.get(tr.bindings.get('leave'))).catch(() => {})).catch(() => {});} catch {}
}
};
Loading…
Cancel
Save