forked from rDrama/rDrama
fix :marseytrain: slur filter
parent
afb70ab2ab
commit
4eef22692b
|
@ -137,6 +137,7 @@ def sub_matcher(match, X_FOR_REPLACING):
|
|||
return match_str
|
||||
else:
|
||||
repl = X_FOR_REPLACING[match_str.lower()]
|
||||
if "<img" not in repl:
|
||||
if match_str.isupper():
|
||||
return repl.upper()
|
||||
if match_str.istitle():
|
||||
|
|
Loading…
Reference in New Issue