Force redirect tenor

This commit is contained in:
Rory&
2026-07-17 14:23:35 +02:00
parent 3a4a17679c
commit 5680f47a58
@@ -44,6 +44,7 @@ export class GifProviderManager {
}
public static getProvider(id: string): IGifProvider {
if (id == "tenor") id = "klipy";
if (this._providers.has(id)) return this._providers.get(id)!;
throw new Error(`Unknown GIF provider, or it is not enabled: ${id}, known GIF providers: ${this._providers.keys().toArray().join(", ")}`);