Skip to content

A discord bot that counts the number of times a user says a banned word and calculates how much is owed.

Notifications You must be signed in to change notification settings

ssusanto2706/SwearJarDiscordBot

Repository files navigation

SwearJarDiscordBot

A discord bot that counts the number of times a user says a banned word and calculates how much is owed.

To do

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

Done

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

About

A discord bot that counts the number of times a user says a banned word and calculates how much is owed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published