knights-of-academia / horace

discord.js bot powering the Knights of Academia server with commands like info, AFK, and more
MIT License
23 stars 19 forks source link

Added profanity highlighting to Horace #143

Closed Zaph-x closed 4 years ago

Zaph-x commented 4 years ago

This pull request will implement a highlighting feature for the profanity embed. The embeds will now have an extra field marking the first occurrence of a word, listed as profane. It looks as following: image

The marker has a dynamic length, and should adjust according to the length of the word, as well as the placement of it