mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 02:38:27 -04:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9103dd9fdb | ||
|
1a8c9a6cba | ||
|
9d2f251923 | ||
|
3744dd287c | ||
|
f65ba100af | ||
|
cc52605c90 |
@@ -3,6 +3,12 @@
|
|||||||
|
|
||||||
Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
||||||
|
|
||||||
|
## [4.2.5] - 18.06.2022
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed `.crypto`, you will still need coinmarketcapApiKey in `creds.yml` in order to make it run consistently as the key is shared
|
||||||
|
|
||||||
## [4.2.3] - 17.06.2022
|
## [4.2.3] - 17.06.2022
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@@ -16,11 +16,11 @@ public class CmcQuote
|
|||||||
[JsonPropertyName("volume_24h")]
|
[JsonPropertyName("volume_24h")]
|
||||||
public double Volume24h { get; set; }
|
public double Volume24h { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("volume_change_24h")]
|
// [JsonPropertyName("volume_change_24h")]
|
||||||
public double VolumeChange24h { get; set; }
|
// public double VolumeChange24h { get; set; }
|
||||||
|
//
|
||||||
[JsonPropertyName("percent_change_1h")]
|
// [JsonPropertyName("percent_change_1h")]
|
||||||
public double PercentChange1h { get; set; }
|
// public double PercentChange1h { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("percent_change_24h")]
|
[JsonPropertyName("percent_change_24h")]
|
||||||
public double PercentChange24h { get; set; }
|
public double PercentChange24h { get; set; }
|
||||||
@@ -33,12 +33,6 @@ public class CmcQuote
|
|||||||
|
|
||||||
[JsonPropertyName("market_cap_dominance")]
|
[JsonPropertyName("market_cap_dominance")]
|
||||||
public double MarketCapDominance { get; set; }
|
public double MarketCapDominance { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("fully_diluted_market_cap")]
|
|
||||||
public double FullyDilutedMarketCap { get; set; }
|
|
||||||
|
|
||||||
[JsonPropertyName("last_updated")]
|
|
||||||
public DateTime LastUpdated { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CmcResponseData
|
public class CmcResponseData
|
||||||
@@ -58,9 +52,6 @@ public class CmcResponseData
|
|||||||
[JsonPropertyName("cmc_rank")]
|
[JsonPropertyName("cmc_rank")]
|
||||||
public int CmcRank { get; set; }
|
public int CmcRank { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("num_market_pairs")]
|
|
||||||
public int NumMarketPairs { get; set; }
|
|
||||||
|
|
||||||
[JsonPropertyName("circulating_supply")]
|
[JsonPropertyName("circulating_supply")]
|
||||||
public double? CirculatingSupply { get; set; }
|
public double? CirculatingSupply { get; set; }
|
||||||
|
|
||||||
@@ -70,15 +61,6 @@ public class CmcResponseData
|
|||||||
[JsonPropertyName("max_supply")]
|
[JsonPropertyName("max_supply")]
|
||||||
public double? MaxSupply { get; set; }
|
public double? MaxSupply { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("last_updated")]
|
|
||||||
public DateTime LastUpdated { get; set; }
|
|
||||||
|
|
||||||
[JsonPropertyName("date_added")]
|
|
||||||
public DateTime DateAdded { get; set; }
|
|
||||||
|
|
||||||
[JsonPropertyName("tags")]
|
|
||||||
public List<string> Tags { get; set; }
|
|
||||||
|
|
||||||
[JsonPropertyName("quote")]
|
[JsonPropertyName("quote")]
|
||||||
public Dictionary<string, CmcQuote> Quote { get; set; }
|
public Dictionary<string, CmcQuote> Quote { get; set; }
|
||||||
}
|
}
|
@@ -7,7 +7,7 @@ namespace NadekoBot.Services;
|
|||||||
|
|
||||||
public sealed class StatsService : IStatsService, IReadyExecutor, INService
|
public sealed class StatsService : IStatsService, IReadyExecutor, INService
|
||||||
{
|
{
|
||||||
public const string BOT_VERSION = "4.2.3";
|
public const string BOT_VERSION = "4.2.5";
|
||||||
|
|
||||||
public string Author
|
public string Author
|
||||||
=> "Kwoth#2452";
|
=> "Kwoth#2452";
|
||||||
|
Reference in New Issue
Block a user