mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
...
This commit is contained in:
1 parent
3043a755ee
commit
7f1d076902
17 files changed
+944
-46
No files matched your search
@@ -26,6 +26,7 @@ import { GatewayHandler } from "../voice/gateway/GatewayHandler.mjs";
|
||||
import { LastFmManager } from "../services/lastfm/LastFmManager.mjs";
|
||||
import { FluxerListManager } from "../services/FluxerListManager.mjs";
|
||||
import { TrackOptionsManager } from "../services/TrackOptionsManager.mjs";
|
||||
import { configureBilibili } from "../music/bilibili/index.mjs";
|
||||
import { applyMixins } from "../utils/mixins.mjs";
|
||||
import BotVoiceMixin from "./BotVoiceMixin.mjs";
|
||||
|
||||
@@ -114,6 +115,14 @@ class Remix {
|
||||
|
||||
setGlobalColor(config.embedColor);
|
||||
|
||||
configureBilibili({
|
||||
enabled: config.bilibili?.enabled !== false,
|
||||
bind: config.bilibili?.bind ?? "127.0.0.1",
|
||||
port: config.bilibili?.port ?? 0,
|
||||
advertiseHost: config.bilibili?.advertiseHost ?? null,
|
||||
cookie: config.bilibili?.cookie ?? null,
|
||||
});
|
||||
|
||||
this.locale = new Locale(typeof config.prefix === "string" && config.prefix ? config.prefix : "%");
|
||||
this.locale.load();
|
||||
|
||||
|
||||
Reference in new issue
Block a user