dosent put response in lowrcase

Commando
Loic Bersier 6 years ago
parent 26ac518c6d
commit d63be4b80d

@ -30,7 +30,6 @@ module.exports = class CustomResponseCommand extends Command {
return message.channel.send("You are blacklisted")
trigger = trigger.toLowerCase();
response = response.toLowerCase()
do {
trigger = trigger.replace('--', ' ')
} while (trigger.includes('--'))

Loading…
Cancel
Save