Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nyxx-discord/nyxx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.21.3
Choose a base ref
...
head repository: nyxx-discord/nyxx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.21.4
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jul 9, 2018

  1. Fix embed serialization bug

    l7ssha committed Jul 9, 2018
    Copy the full SHA
    ef4145a View commit details
  2. Copy the full SHA
    90162f6 View commit details
Showing with 16 additions and 4 deletions.
  1. +10 −1 CHANGELOG.md
  2. +5 −2 lib/src/objects/embed/EmbedProvider.dart
  3. +1 −1 pubspec.yaml
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## [0.21.4](https://github.com/l7ssha/nyxx/compare/0.21.3...0.21.4)
_Fri 09.07.2018_

- **Bug fixes**
* Fixed embed serialization


## [0.21.3](https://github.com/l7ssha/nyxx/compare/0.21.2...0.21.3)
_Fri 06.07.2018_
_Fri 08.07.2018_

- **Bug fixes**
* Fixed embed serialization
@@ -21,6 +28,7 @@ _Fri 06.07.2018_
- **Bug fixes**
* Fixed constructors in MessageChannel and TextChannel


## [0.21.0](https://github.com/l7ssha/nyxx/compare/0.20.0...0.21.0)
_Fri 06.07.2018_

@@ -29,3 +37,4 @@ _Fri 06.07.2018_
* Added missing gateway events
* Replaced String ids with `Snowflake` type
- **Bug fixes**

7 changes: 5 additions & 2 deletions lib/src/objects/embed/EmbedProvider.dart
Original file line number Diff line number Diff line change
@@ -12,8 +12,11 @@ class EmbedProvider {
String url;

EmbedProvider._new(this.raw) {
this.name = raw['name'];
this.url = raw['url'];
if(raw['name' != null])
this.name = raw['name'];

if(raw['url'] != null)
this.url = raw['url'];
}

/// Returns a string representation of this object.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: nyxx
version: 0.21.3
version: 0.21.4
description: A Discord library for Dart. For of hackzzila's nyx.
authors:
- Szymon 'l7ssha' Uglis <szymon.uglis@tuta.io>