mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
refactor(core): migrate API and CDN endpoints from fluxer.app to fluxer.com
This commit is contained in:
1 parent
21197e7f22
commit
c9d932067e
6 files changed
+11
-10
No files matched your search
@@ -200,9 +200,10 @@ export async function run(message, data) {
|
||||
const d = set.getAll();
|
||||
const guildName = getGuildName(message);
|
||||
const rawGuild = message.message?.guild;
|
||||
const iconUrl = rawGuild?.icon
|
||||
? "https://cdn.fluxer.app/icons/" + rawGuild.id + "/" + rawGuild.icon + ".webp"
|
||||
: null;
|
||||
const iconUrl = rawGuild?.iconURL?.()
|
||||
?? (rawGuild?.icon
|
||||
? "https://fluxerusercontent.com/icons/" + rawGuild.id + "/" + rawGuild.icon + ".webp"
|
||||
: null);
|
||||
|
||||
const channels = get247Channels(set);
|
||||
|
||||
|
||||
Reference in new issue
Block a user