fluxerlist vote api

This commit is contained in:
NoLogicAlan committed 2026-05-17 00:15:39 +03:00
1 parent 726277324e
commit d24ae4070f
5 files changed
+636

No files matched your search

+5
View File
@@ -16,6 +16,7 @@ import { Locale } from "./src/constants/Locale.mjs";
import { VoiceStateCache } from "./src/constants/VoiceStateCache.mjs";
import { GatewayHandler } from "./src/GatewayHandler.mjs";
import { LastFmManager } from "./src/LastFmManager.mjs";
import { FluxerListManager } from "./src/FluxerListManager.mjs";
/**
* Create a backward-compatible "bot view" wrapper around VoiceStateCache.
@@ -234,6 +235,10 @@ export class Remix {
// Handles Last.fm API auth, scrobbling, and user data.
this.lastfm = new LastFmManager(config.lastfm, config.mysql);
// ── FluxerList Manager ──────────────────────────────────────────────────
// Handles FluxerList API voter data queries.
this.fluxerlist = new FluxerListManager(config.fluxerlist);
// ── Settings ready callback ──────────────────────────────────────────────
settings.on("ready", () => {
initLogger(config);