# Changelog for Calamity ## 0.1.14.5 *2020-06-18* * The `DecodeError` variant of the `RestError` type has been renamed to `InternalClientError` as all issues in the rest client now end up here. * We're now using `discord.com` instead of `discordapp.com` ## 0.1.14.4 *2020-06-11* * Added `activity` to construct Activities * Added aliases for commands and groups, with new functions to create them (`commandA`, `groupA`, ...). * The built in help command now shows aliases and checks. ## 0.1.14.3 *2020-06-10* * Fix some bugs in the gateway ## 0.1.14.2 *2020-06-09* * Fix broken json decoding for DMs * Add `mentionChannels` to `Message` ## 0.1.14.1 *2020-06-08* * Fix broken json decoding for member's ## 0.1.14.0 *2020-06-08* * Unpacked the `user` field of `Member` into itself. * Add message formatting utilities (`Calamity.Utils.Message`). * Add support for allowed mentions in `Tellable`. * Change Snowflake's show instance to just show the numberic id. * Added parsers for RawEmoji and Either. ## 0.1.13.0 *2020-06-06* * Changed event handlers to take tuples instead of being higher arity when there is more than one parameter to the callback. ## 0.1.12.0 *2020-06-06* * Changed some events to take enums instead of booleans: `GuildCreateEvt` and `GuildDeleteEvt`. ## 0.1.11.2 *2020-06-03* * Moved the internal `UpdatedMessage` from `Calamity.Types.Model.Channel.Message` into `Calamity.Types.Model.Channel.UpdatedMessage`. ## 0.1.11.0 *2020-05-31* * Add command parameter parsers for channel/guild/emoji * Support allowed mentions * Support invite events * Support setting gateway intents * Add `Calamity.Types.Model.Guild.Permission` and `Calamity.Utils.Permissions` and change permissions fields from `Word64` to `Permissions` * Add `Calamity.Utils.Colour` and change color fields from `Word64` to `Data.Color.Color Double` ## 0.1.10.0 *2020-05-27* * Renamed `Calamity.Commands.Parser.KleeneConcat` to `Calamity.Commands.Parser.KleeneStarConcat` and added `Calamity.Commands.Parser.KleenePlusConcat` * Added `Calamity.Types.Upgradeable` ## 0.1.9.2 *2020-05-23* * Added a default help command, located in `Calamity.Commands.Help`. * Commands now have the list of parameters they take ## 0.1.9.1 *2020-05-23* * Added `Calamity.Commands.Parser.Named` for parameters that have a name. * General improvements to parser errors ## 0.1.9.0 *2020-05-22* * Added commands, located in `Calamity.Commands`, along with a DSL for declaring commands nicely. * Renamed `waitUntil` to `waitUntilM`, and introduced a variant with a pure check function that takes the original name of `waitUntil`. ## 0.1.8.0 *2020-05-15* * Did a large rework of how event handlers are stored internally. * introduced `waitUntil` ## 0.1.4.0 * Added back extra exports of `Calamity.Types.Partial` from `Calamity.Types.Model.Guild.Guild`, `Calamity.Type.Model.Guild.Emoji`, and `Calamity.Types.Model.Channel`. There is now way to export the constructor without also exporting Partial apparently? ## 0.1.3.0 *2020-04-27* * Removed extra exports of `Calamity.Types.Partial` from `Calamity.Types.Model.Guild.Guild`, `Calamity.Type.Model.Guild.Emoji`, and `Calamity.Types.Model.Channel` * Added missing exports of `CreateGuildEmojiOptions` and `ModifyGuildEmojiOptions` from `Calamity.HTTP.Emoji` * Added missing exports of `CreateGuildData` and `ModifyGuildData` from `Calamity.HTTP.Guild` ## 0.1.2.0 *2020-04-27* * Calamity.Client: runBotIO now has a `Polysemy.Fail` effect ## Unreleased changes