Browse Source

Add missing parenthesis

master
Abheek Dhawan 4 years ago
parent
commit
939a6db3e5
  1. 2
      index.js

2
index.js

@ -117,7 +117,7 @@ async function ban(message) {
const members = message.guild.members.cache.filter(member => { const members = message.guild.members.cache.filter(member => {
if (member.nickname) { if (member.nickname) {
return member.user.username.toLowerCase().includes(message.content.split(" ")[1].toLowerCase() || member.nickname.toLowerCase().includes(message.content.split(" ")[1].toLowerCase()); return member.user.username.toLowerCase().includes(message.content.split(" ")[1].toLowerCase()) || member.nickname.toLowerCase().includes(message.content.split(" ")[1].toLowerCase());
} else { } else {
return member.user.username.toLowerCase().includes(message.content.split(" ")[1].toLowerCase()) return member.user.username.toLowerCase().includes(message.content.split(" ")[1].toLowerCase())
} }

Loading…
Cancel
Save