DBL is total garbage

This commit is contained in:
Dragon Fire
2020-04-28 09:07:54 -04:00
parent b2f86615c8
commit 1817c6e990
10 changed files with 7 additions and 34 deletions
-1
View File
@@ -74,7 +74,6 @@ client.on('message', async msg => {
client.on('guildMemberRemove', async member => {
if (member.id === client.user.id) return null;
if (client.botListGuilds.includes(member.guild.id)) return null;
const channel = member.guild.systemChannel;
if (!channel || !channel.permissionsFor(client.user).has('SEND_MESSAGES')) return null;
if (channel.topic && channel.topic.includes('<xiao:disable-leave>')) return null;