discord-haskell 1.15.0 → 1.15.1
raw patch · 4 files changed
+8/−4 lines, 4 filesnew-uploader
Files
- changelog.md +5/−1
- discord-haskell.cabal +1/−1
- src/Discord/Internal/Rest/Prelude.hs +1/−1
- src/Discord/Internal/Types/ApplicationCommands.hs +1/−1
changelog.md view
@@ -4,9 +4,13 @@ The Discord API constantly changes. This library issues updates when we implement new features added to the API or remove outdated functionalities. In order to interact with the Discord API safely and predictably, please update the library whenever there is a new version released. -## Unreleased changes+## Unreleased -++# 1.15.1++- [Geometer1729](https://github.com/discord-haskell/discord-haskell/pull/141) Fixing a bug in localization code ## 1.15.0
discord-haskell.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0 name: discord-haskell -- library version is also noted at src/Discord/Rest/Prelude.hs-version: 1.15.0+version: 1.15.1 description: Functions and data types to write discord bots. Official discord docs <https://discord.com/developers/docs/reference>. .
src/Discord/Internal/Rest/Prelude.hs view
@@ -34,7 +34,7 @@ where -- | https://discord.com/developers/docs/reference#user-agent -- Second place where the library version is noted- agent = "DiscordBot (https://github.com/discord-haskell/discord-haskell, 1.15.0)"+ agent = "DiscordBot (https://github.com/discord-haskell/discord-haskell, 1.15.1)" -- Possibly append to an URL infixl 5 /?
src/Discord/Internal/Types/ApplicationCommands.hs view
@@ -126,7 +126,7 @@ _ -> do desc <- v .: "description" options <- v .:? "options"- ldesc <- v .: "description_localizations"+ ldesc <- v .:? "description_localizations" return $ ApplicationCommandChatInput acid aid gid name lname desc ldesc options defPerm dmPerm version )