diff --git a/Myriad/Cache/HTTPDiscordCache.cs b/Myriad/Cache/HTTPDiscordCache.cs index c27fc349..e6aac7ee 100644 --- a/Myriad/Cache/HTTPDiscordCache.cs +++ b/Myriad/Cache/HTTPDiscordCache.cs @@ -48,7 +48,8 @@ public class HttpDiscordCache: IDiscordCache private async Task QueryCache(string endpoint, ulong guildId) { var cluster = _cacheEndpoint.Authority; - if (cluster.Contains(".service.consul")) + // todo: there should not be infra-specific code here + if (cluster.Contains(".service.consul") || cluster.Contains("process.pluralkit-gateway.internal")) // int(((guild_id >> 22) % shard_count) / 16) cluster = $"cluster{(int)(((guildId >> 22) % (ulong)_shardCount) / 16)}.{cluster}";