- feat: add
purplet/env
(#55)
-
fix:
$mentionCommand
now works (#55) -
Updated dependencies [
281b7dc
,8a57c60
,8a57c60
,bbbe1b1
,e817d3d
]:- @purplet/[email protected]
-
move @davecode/types to be a required dependency (
20b20d5
) -
Updated dependencies [
20b20d5
]:- @purplet/[email protected]
- swap out
@discordjs/rest
with@purplet/rest
(#33)
-
Extract
GatewayClient
to separate package@purplet/gateway
(#31) -
Updated dependencies [
0ac1bdd
,1af5025
]:- @purplet/[email protected]
- @purplet/[email protected]
- OptionBuilder: fix string and number option types messing up
- component custom ids allow longer feature ids, making it more unlikely to get an error thrown during usage (#22)
- add string option .maxLength and .minLength
Rebuild
- drop discord.js dependency, now has a custom gateway client
- rename
$onEvent
to$gatewayEvent
- fix an issue with subcommands and options not working
- fix autocomplete handlers
- fix a performance/nesting issue with OptionBuilder, causing it to fail with the infinite recursion error after four options
- support purplet.config.ts
- remove config.paths.temp
- Add Interaction.appPermissions
- stop exporting
$appCommand
. it is now an internal tool for us - add error messages when startind dev mode
- add message attachments to Channel.createMessage, Interaction.showMessage, Interaction.updateMessage, and Message.edit
- add .meta property to all hooks, allowing user-defined metadata to be attached to hooks
- fix
purplet build
's output to actually be runnable (due to changes in GatewayBot) - new cli interface
- tweak the naming of some of the Bitfield classes to include the plural
s
-
Remove
djsClient
anddjsOption
hooks, and move all hooks to using purplet structures. -
Purplet structures are back. They aren't finalized and it's probably harder to use but yeah.
-
Remove
$modal
temporarily. It will be back -
Updated dependencies [
2a994ea
]:- @purplet/[email protected]
- custom logger, which intercepts console.log
- add command groups
- fix intents hook not doing anything
- commands are deleted when dev process exits
- add config parsing
- mention commands have been modified significantly
- add getCustomId() onto components
- fix build
- fix build
-
rename
$chatCommand
to$slashCommand
-
add
$modal
-
revert to using discord.js structure for everything - the world isn't ready for what i have lol
-
move
modules
tofeatures
-
Updated dependencies [
38d20aa
]:- @purplet/[email protected]
- add
Message
, and partial helpers. - add some basic interaction response functions.
- return an interaction message when you call
showMessage()
. - add Bitfield classes.
- properly add all response functions.
- add full bitfield resolving.
- add basic autocomplete handler execution.
- add
$merge
and$interaction
. - add
MessageComponentBuilder
andModalComponentBuilder
for simplified creation of thecomponents
array.. - add component stuff.
- messed with the changelog format
a4980c7
: add hooks$appCommand
$userContextCommand
$djsUserContextCommand
$messageContextCommand
$djsMessageContextCommand
3b6d61d
: add basic version of$chatCommand
a4980c7
: Add PurpletInteraction and all of it's subclasses.f16fdc3
: Fix OptionBuilder typesa4980c7
: add OptionBuilder
- 16cc280: - add
$onDJSEvent
, a wrapper arounddjsClient
hook with.on(event)
- add
$intents
, shorthand for theintents
hook - add
$service
, a wrapper around theinitialize
hook - add
$djsOptions
, shorthand for thedjsOptions
hook - add
$presence
, a one liner on top of$djsOptions
for presence data
- add
- 1360e42: breaking: simplify built in hook apis
initialize
-> no argsdjsClient
-> client first argdjsOptions
-> prev options first arginteraction
-> the interactionapplicationCommands
-> no argsintents
-> no args
- c840aae: fix framework breaking when it is rebuilt while also running
- 31c8390: add
@discordjs/rest
client under therest
import - 0cb148c: add
applicationCommands
hook - ebc53d4: add custom hook
$onRawEvent
- Rewritten codebase, projects are bundled with vite and built with rollup. Instead of a Modules +
Handlers api, it is based off of
Feature
objects. - Removed purplet configuration file.
- Removed every handler type, but all of these will be added in some variation.
- Reverse
required
to default to false
- Added ModalComponent and bumped D.js to v13.7.
- Improved README.md.
create-purplet
package to initialize a new Purplet project.- Added support for attachments in OptionBuilder
- Changed OptionBuilder to use an option object for extra properties.
- Fix: mentionable options resolving in a snowflake instead of the option object
- Added handler for text commands (
TextCommandHandler()
)
- Fix:
build-dev.mjs
:- Using a
fs-extra
function withfs
only JSON.stringify
ed thepackage.json
to send over to the build.
- Using a
- Added nicer and more accurate build messages.
- ChatCommand: make
options
optional.
- Bug fix: building a bot with more than one module fails
- Removed handlers folder
Initial release. Very basic, no development mode