diff --git a/src/NadekoBot/Services/Impl/BotCredsProvider.cs b/src/NadekoBot/Services/Impl/BotCredsProvider.cs index e1a791e5d..84d212dd7 100644 --- a/src/NadekoBot/Services/Impl/BotCredsProvider.cs +++ b/src/NadekoBot/Services/Impl/BotCredsProvider.cs @@ -103,8 +103,10 @@ public sealed class BotCredsProvider : IBotCredsProvider if (string.IsNullOrWhiteSpace(_creds.RedisOptions)) _creds.RedisOptions = "127.0.0.1,syncTimeout=3000"; - if (string.IsNullOrWhiteSpace(_creds.CoinmarketcapApiKey)) - _creds.CoinmarketcapApiKey = "e79ec505-0913-439d-ae07-069e296a6079"; + // replace the old generated key with the shared key + if (string.IsNullOrWhiteSpace(_creds.CoinmarketcapApiKey) + || _creds.CoinmarketcapApiKey.StartsWith("e79ec505-0913")) + _creds.CoinmarketcapApiKey = "3077537c-7dfb-4d97-9a60-56fc9a9f5035"; _creds.TotalShards = _totalShards ?? _creds.TotalShards; }