Skip to content

v3.1.0

Latest
Compare
Choose a tag to compare
@Ayfri Ayfri released this 18 Sep 13:31
· 17 commits to master since this release

πŸ“† 16.09.2021 🏷️ 3.1.0 πŸ’Ύ 18D91CF πŸš€ 23 ♻️ 4 ✏️ 5 πŸ‘₯ 1

This release brings support to Discord.js v13, arguments for functions options when setting default commands & events.

πŸš€ New Features

3171882 feat: Add Argument class and types. (@Ayfri)
f4b0018 feat: Add argument errors to CommandErrorType. (@Ayfri)
a6d0a35 feat: Add argument functions. (@Ayfri)
4234c15 feat: Add argument methods to CommandContext & SubCommandContext. (@Ayfri)
e286b6e feat: Add ARGUMENT_NOT_FOUND & BAD_ARGUMENT CommandErrorTypes. (@Ayfri)
bafdfef feat: Add arguments property in Command & SubCommand classes. (@Ayfri)
b72e0f7 feat: Add channelOnly & threadOnly tags. (@Ayfri)
ff3f837 feat: Add check function to Tag. (@Ayfri)
b38c02b feat: Add DefaultCommandOptions, can exclude default commands. (@Ayfri)
864b758 feat: Add DefaultEventsOptions, can exclude events. (@Ayfri)
35f118a feat: Add the getter isSkipable to CommandArgument class. (@Ayfri)
cb95a67 feat: Add global tags. (@Ayfri)
ee294a2 feat: Add HelpOptions, can exclude commands, auto-delete message, use list of commands instead of list of categories. (@Ayfri)
ec60c77 feat: Add isSnowflake util function. (@Ayfri)
8398b53 feat: Add MaybePromise util type. (@Ayfri)
005e860, 0a69103 feat: Add MessageCreateOptions, can explicitly exclude or not bot, explicitly send code errors or not & only when owner or not, set global tags. (@Ayfri)
ad004a6 feat: Add possibility to get messages with canary and ptb links and to get guilds with mention. (@Ayfri)
44c01ed feat: Add searching with text literal mention for getThing function. (@Ayfri)
38b1472, 0d0389c feat: Add signature & signatures functions to Command class. (@Ayfri)
9485124 feat: Add TEXT_CHANNEL DataType for getThing function. (@Ayfri)
ad81df2 feat: Add threads-related methods to CommandContext class. (@Ayfri)
c66ce3e feat: Handle new error types to default messageCreate event. (@Ayfri)
d868480 feat: Use signature(s) methods in default help command. (@Ayfri)
a23676b feat: Use signatures method in argError if no usage set. (@Ayfri)

♻️ Refactors

2fb1ce8 refactor!: Rename args property to rawArgs in CommandContext, add a deprecated getter for compatibility. (@Ayfri)
ffc8d6d refactor: Rename default 'message' event to 'messageCreate'. (@Ayfri)
9b1c4e5 refactor: Rename MessageEvent class to MessageCreateEvent, set filename to same name. (@Ayfri)
05039b9 refactor: Use arguments for default help command. (@Ayfri)

✏️ Chores

8189ca2 chore: Add argumentorum parser library. (@Ayfri)
64f1443 chore: Bump minimum required Node.js version to 16.6. (@Ayfri)
c7a44d2 chore: Update discord.js to V13. (@Ayfri)
6dc37df chore: Update discord.js-better-embed to 1.3.0. (@Ayfri)
b215571 chore: Update typescript to 4.4. (@Ayfri)

πŸ‘₯ Contributors