Releases: ThatsLiamS/discord.js-ghost-ping
Releases · ThatsLiamS/discord.js-ghost-ping
v3.1 TypeScript
This release brings several enhancements, bug fixes, and improved maintainability. The TypeScript version will provide better type checking and code completion, making it easier for developers to work with the package.
What's Changed
- TypeScript Support: The entire codebase has been translated into TypeScript for improved developer experience.
- Developer Dependencies: Relevant TS modules and NodeJS Types.
- ESLint: Bumped from 8.28.0 to 8.49.0 by @dependabot over various commits.
New Contributors
- @dependabot made their first contribution in #16
Full Changelog: v3.0.0...v3.1.0
v3.0.0
Change Log
Breaking Changes:
> Removed object export
> Set the detector as the default export
Removed:
> Removed all async functions
> Removed the Customisation
object parameter
> Removed the auto sent embed message
Added:
> New array merging syntax
> Returns new <Object | Boolean> type
Return Object
const { author, guild, channel, message, mentions } = GhostPing(...args);
/**
* Author == https://discord.js.org/#/docs/discord.js/stable/class/Message?scrollTo=author
* Guild == https://discord.js.org/#/docs/discord.js/stable/class/Guild
* Channel == https://discord.js.org/#/docs/discord.js/stable/class/Message?scrollTo=channel
* Message == https://discord.js.org/#/docs/discord.js/stable/class/Message
* Mentions == type Array[String] | String == /^<@!?(\d+)>$/ OR /^<@&(\d+)>$/
**/
v2.1.0
Array manipulation
- Removed all
.push()
methods - Replaced for loops with
.filter()
and.map()
- Created Global
.map()
function parameter - Used
.concat()
to merge arrays
Types
- Added
index.d.ts
- Altered function comments
New Contributors
- @RaZeSloth made their first contribution in #2
- @Criticalcarpet made their first contribution in #13
Full Changelog: v2.0.0...v2.1.0
DJS v13
v2.0.0 DJS v13 release
v1.3.4: Fixed formatting and logic errors
- Created
.eslintrc.json
- Changed formatting to suit the rules set forth above
- Fixed logic of instanceof and typeof
- Imported require module in
send.js
v1.3.3
Merge branch 'main' of https://github.com/ThatsLiamS/discord.js-ghost…
v1.3.2
v1.3.2 Lauched
v1.3.1
Did it work?