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(Formatters): Add a spoiler function #16

Closed austr1an closed 3 years ago

austr1an commented 3 years ago

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

This PR adds a spoiler function to text formatters. If it gets accepted, I'll add it to https://github.com/discordjs/discord.js/blob/master/src/util/Formatters.js

Status and versioning classification:

codecov-commenter commented 3 years ago

Codecov Report

Merging #16 (9c5326b) into main (f83fe99) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines          141       142    +1     
  Branches        20        20           
=========================================
+ Hits           141       142    +1     
Impacted Files Coverage Δ
src/messages/formatters.ts 100.00% <100.00%> (ø)

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 f83fe99...9c5326b. Read the comment docs.