mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
fixed
This commit is contained in:
1 parent
441eb4406e
commit
8f0c0db2f4
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -85,7 +85,7 @@ export async function joinChannel(message, cid, cb = () => {}, ecb = () => {}) {
|
||||
|
||||
if (is247 && (mode247 === "on" || mode247 === "auto")) {
|
||||
const rejoinDelay = this.config?.timers?.rejoin247Delay ?? 3_000;
|
||||
const prefix = this._commands.getPrefix(guildId);
|
||||
const prefix = this.handler.getPrefix(guildId);
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor())
|
||||
.setDescription(this.t(message, "responses.join.autoLeaveInactive247", { channel: activeChannelId, prefix }));
|
||||
message.channel.send({ embeds: [embed] }).catch(() => {});
|
||||
@@ -185,7 +185,7 @@ export async function run(message, data) {
|
||||
const cid = this.players.checkVoiceChannels(message);
|
||||
|
||||
if (!cid) {
|
||||
const prefix = this._commands.getPrefix(getGuildId(message));
|
||||
const prefix = this.handler.getPrefix(getGuildId(message));
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor())
|
||||
.setDescription(this.t(message, "responses.join.noVoiceChannel", { prefix }));
|
||||
return message.reply({ embeds: [embed] });
|
||||
|
||||
Reference in new issue
Block a user