Moved notice in DiscordColor

[ci skip]
This commit is contained in:
Szymon Uglis 2020-06-25 19:41:48 +02:00
parent 00eeebdb88
commit a976e63cc1

View file

@ -1,7 +1,9 @@
part of nyxx;
// All colors got from DiscordColor class from DSharp+.
// https://github.com/DSharpPlus/DSharpPlus/blob/a2f6eca7f5f675e83748b20b957ae8bdb8fd0cab/DSharpPlus/Entities/DiscordColor.Colors.cs
/// Wrapper for colors.
///
/// Simplifies creation and provides interface to interact with colors for nyxx.
class DiscordColor {
late final int _value;
@ -63,9 +65,6 @@ class DiscordColor {
@override
bool operator ==(other) => other is DiscordColor && other._value == this._value;
// All colors got from DiscordColor class from DSharp+.
// https://github.com/DSharpPlus/DSharpPlus/blob/a2f6eca7f5f675e83748b20b957ae8bdb8fd0cab/DSharpPlus/Entities/DiscordColor.Colors.cs
/// Color of null, literally null.
static const DiscordColor? none = null;