Skip to content

Commit 638733d

Browse files
committed
fix: don't convert ban phrase to lc
1 parent 31880bd commit 638733d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/commands/implementations/banphrase.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function banPhraseTwitch(defaultPunishmentDuration, punishmentType) {
5353
function banPhraseDGG() {
5454
return (input, services) => {
5555
const matched = /(\d+[HMDSWwhmds])?\s?(.*)/.exec(input);
56-
const bannedPhrase = _.get(matched, 2, '').toLowerCase();
56+
const bannedPhrase = _.get(matched, 2, '');
5757
services.bannedPhrases.addBannedPhrase(bannedPhrase);
5858
return new CommandOutput(null, 'Phrase banned!');
5959
};

0 commit comments

Comments
 (0)