codinglab-io / discord-bot

Discord bot for Codinglab's server.
https://discord.com/invite/codinglab-174169014568878080
MIT License
19 stars 14 forks source link

fix(quoi-feur): check if the trigger word is formatted in md #68

Closed dilaouid closed 1 year ago

dilaouid commented 1 year ago

This member noticed that when 'quoi' is formatted in md, the bot ignores it: image

Thought that MAYBE the bot should consider it. So the bot now remove all markdown. As a result, the bot now removes all Markdown formatting. Fortunately, the md text is well-formatted, and it doesn't use unusual symbols like '<>' for emojis:

image

I also added a test to check it.

potb commented 1 year ago

Too many changes in here, a simple indicator is that the PR's name is too long and won't fit in a standard commit name

dilaouid commented 1 year ago

Fixed the stupid commit

ayoubqrt commented 1 year ago

@dilaouid you need to rebase and you need to run eslint autofix