mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
hotfix(better)
This commit is contained in:
1 parent
2658402c39
commit
3ea34c7f19
7 files changed
+905
-99
No files matched your search
@@ -29,6 +29,7 @@ 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 { configureAudio } from "../music/audio/AudioSettings.mjs";
|
||||
import { applyMixins } from "../utils/mixins.mjs";
|
||||
import BotVoiceMixin from "./BotVoiceMixin.mjs";
|
||||
|
||||
@@ -126,6 +127,10 @@ class Remix {
|
||||
remoteSecret: config.bilibili?.remoteSecret ?? null,
|
||||
});
|
||||
|
||||
configureAudio({
|
||||
allowLoadstream: config.audio?.allowLoadstream ?? false,
|
||||
});
|
||||
|
||||
this.locale = new Locale(typeof config.prefix === "string" && config.prefix ? config.prefix : "%");
|
||||
this.locale.load();
|
||||
|
||||
|
||||
Reference in new issue
Block a user