mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
- 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)
23 lines
810 B
JavaScript
23 lines
810 B
JavaScript
import { CommandBuilder } from "../src/CommandHandler.mjs";
|
|
import { EmbedBuilder } from "@fluxerjs/core";
|
|
import { getGlobalColor } from "../src/MessageHandler.mjs";
|
|
|
|
export const command = new CommandBuilder()
|
|
.setName("support")
|
|
.setDescription("The support server for Remix. Feel free to ask help, report bugs or just chat :)", "commands.support")
|
|
.addAliases("server")
|
|
.setCategory("util");
|
|
|
|
export function run(msg) {
|
|
const embed = new EmbedBuilder()
|
|
.setColor(getGlobalColor())
|
|
.setTitle("💬 Support")
|
|
.setDescription(
|
|
"For anything regarding Remix, head over to our server:\n" +
|
|
"[Remix HQ](https://fluxer.gg/remix)\n\n" +
|
|
"If you don't want to join, feel free to contact the team members listed in the server."
|
|
)
|
|
;
|
|
msg.reply({ embeds: [embed] });
|
|
}
|