* feat: Update plugin `disable`
Updates PluginType to work with new typings for sern v2.
Application does not fail to respond when no fail message is defined.
* fix: Resolve changes
Setup the timeout differently and added notes to explain what the functions do.
* feat: allow bot to check own perms in commands
edited current perm check plugin. original credits exist.
* refactor: made requested changes to feat pr.
* fixed bad import in example
* refactor: possibly fixed errors
* refactor: removed unnecessary console.log()
* Update myPermCheck.ts
* refactor: final changes to feature
* Rename myPermCheck.ts to requirePermission.ts
* Update optional response wording
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
Original fail message may have been misleading to some people. They may have thought it was a complication with the bot and could lead to spamming of DMs to bot developer.
Fixed typo in my GitHub name after changing.
* feat: add TS devOnlyServer plugin
This plugin will send an error message when the command is ran outside of the specified guild id(s).
If there is no `perFail` message provided, the code will provide an error.
* feat: edit devServerOnly plugin
EDIT: Checks if the fail message exists.
* refactor: changed name of plugin
Changed name of plugin devOnlyServer.ts to serverOnly.ts
* refactor: changed name of plugin on sample command
Forgot to change name of plugin on the sample command during previous refactor.
* refactor: update default failMessage parameter.
Correct default fail message.
* feat: channelType Plugin
* fix: Forgot to format with prettier
* fix: fixed requested changes
regarding optional onFail: I wasn't sure if it would throw an error due to the plugin attempting to send a empty message so I put it in a check.
* fix: fix
* chore: fix jsdoc
* feat: Ability to have multiple channel types
* fix: fix
* feat: Role Only
* Delete roleOnly.ts
* fix: fixed changes
* fix: uses typeof to specify the type
* fix: fix
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>