discordjs / builders

A collection of builders that you can use when creating your bot.
Apache License 2.0
97 stars 37 forks source link

feat: added message formatters #1

Closed kyranet closed 3 years ago

kyranet commented 3 years ago

Please describe the changes this PR makes and why it should be merged:

Adds the following utilities:

ref: https://github.com/discordjs/discord.js/pull/5918

Also implemented Jest for unit testing.

Status and versioning classification:

codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@8fcdfe1). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         1           
  Lines           ?        12           
  Branches        ?         4           
========================================
  Hits            ?        12           
  Misses          ?         0           
  Partials        ?         0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8fcdfe1...5ba08b6. Read the comment docs.

jzeuzs commented 3 years ago

Why is underscore and strikethrough not typed as camelCase while codeBlock and blockQuote are?

kyranet commented 3 years ago

Because Underscore and Strikethrough are actual words. codeBlock and blockQuote are two words joined together.