dosent put response in lowrcase

This commit is contained in:
Loic Bersier 2018-12-08 04:30:45 +01:00
parent 26ac518c6d
commit d63be4b80d

View file

@ -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('--'))