A discord bot that counts the number of times a user says a banned word and calculates how much is owed.
Users will get dinged if they work together, even if interrupted by another user.
tex: b
a
n
rex: so there i was in this hallway right
n
mex: e
d
w
o
r
d
SwearJar: @tex now owes $0.60
@mex now owes $0.90
Remove whitespace when comparing strings so that users cannot bypass the filter with spaces, new lines, or other delimiters.
tex: b a n n e d w o r d
SwearJar: @tex now owes $0.30
Implement Unidecode library to sanitize inputs so that users cannot substitute Unicode characters to bypass filters.
tex: 𝔟𝔞𝔫𝔫𝔢𝔡 𝔴𝔬𝔯𝔡
SwearJar: @tex now owes $0.40
mex: b҉a҉n҉n҉e҉d҉ ҉w҉o҉r҉d҉
SwearJar: @mex now owes $0.20
rex: ⓑα𝐍Ⓝ𝔢Đ ʷ𝓸я๔
SwearJar: @rex now owes $1.00