mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
[skip ci] Use shared coinmarket key instead of public bot's
This commit is contained in:
@@ -103,8 +103,10 @@ public sealed class BotCredsProvider : IBotCredsProvider
|
|||||||
if (string.IsNullOrWhiteSpace(_creds.RedisOptions))
|
if (string.IsNullOrWhiteSpace(_creds.RedisOptions))
|
||||||
_creds.RedisOptions = "127.0.0.1,syncTimeout=3000";
|
_creds.RedisOptions = "127.0.0.1,syncTimeout=3000";
|
||||||
|
|
||||||
if (string.IsNullOrWhiteSpace(_creds.CoinmarketcapApiKey))
|
// replace the old generated key with the shared key
|
||||||
_creds.CoinmarketcapApiKey = "e79ec505-0913-439d-ae07-069e296a6079";
|
if (string.IsNullOrWhiteSpace(_creds.CoinmarketcapApiKey)
|
||||||
|
|| _creds.CoinmarketcapApiKey.StartsWith("e79ec505-0913"))
|
||||||
|
_creds.CoinmarketcapApiKey = "3077537c-7dfb-4d97-9a60-56fc9a9f5035";
|
||||||
|
|
||||||
_creds.TotalShards = _totalShards ?? _creds.TotalShards;
|
_creds.TotalShards = _totalShards ?? _creds.TotalShards;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user