fix: migrate all commands & src to @fluxerjs native API

- Replace replyEmbed/sendEmbed/editEmbed with reply/send/edit
  across all 33 command files and 5 src/ files
- Remove unnecessary .toJSON() on EmbedBuilder (Fluxer auto-converts)
- Fix voice channel type checks: channel_type === "VoiceChannel" → type === 2
- Add missing edit() and send() methods to Message/ChannelContext wrappers
- Fix filter command: reactions now update per page on navigation

Closes channel cache crash (guild.channels.cache.keys undefined)
This commit is contained in:
NoLogicAlan committed 2026-05-05 20:09:25 +03:00
1 parent 19820e7209
commit 85f11fe34b
38 files changed
+395 -314

No files matched your search

+3 -3
View File
@@ -14,8 +14,8 @@ export async function run(msg) {
const loadingEmbed = new EmbedBuilder()
.setColor(getGlobalColor())
.setDescription("⏳ Loading...")
.toJSON();
const loadingMsg = await msg.replyEmbed({ embeds: [loadingEmbed] });
;
const loadingMsg = await msg.reply({ embeds: [loadingEmbed] });
const data = await p.nowPlaying();
@@ -24,5 +24,5 @@ export async function run(msg) {
.setDescription(data.msg);
if (data.image) embed.setThumbnail(data.image);
loadingMsg.editEmbed({ embeds: [embed.toJSON()] }).catch(() => {});
loadingMsg.edit({ embeds: [embed] }).catch(() => {});
}