Change log
View the change logs here!
Last updated
View the change logs here!
Last updated
In version 4, there are some breaking changes that would require your attention
Discord
parameter has been removed.This has resulted options
being the second parameter.
true
by default.In the previous version, v3, buttons were a new feature to Discord, and not everyone liked having them. That has caused it to be false
by default. However, buttons now look more better than messages. Besides this, Discord has announced that the message content
intent will become a privileged intent soon.
When a game ends, it returns an object. The object itself hasn't changed, but the properties and it's value has. Look in this chapter to see the new returned object.
That is all the changes we have. Now let's talk about new features.
This new feature allows you to have more control on how the game transitions. This transition effect is used when someone selects an option, and the embed changes. This feature was added because many people did not like the message being deleted and re-sent. This option only accepts 2 values, which is edit
and delete
. This option defaults to delete
We added an option to add your emojis. Please note that custom emojis will not work since the emojis are placed in a single-line code-block. Using a custom emoji would return the following: <emojiname:emojivalue:> A
. You may still use unicode emojis or symbols.
split
and doubledown
option not workingIn the previous versions, there were some issues that the doubledown and split option will appear regardless of the setting. This has been fixed now.
In the previous versions, when an ace occur, it will default the value to 11, and if it exceeded 21, it will default to 1. This caused some error in the code to make some Aces (that were already valued as 1) to go as -10. This has been fixed now.
This error was not a real error, but rather a mistake from the developer's side. In previous versions, once you split, you can only deal one of the hands, and if that hand goes over 21, you automatically lose without switching to the other hand. This has been fixed.