diff --git a/.replit b/.replit index 4b02687..82d57c4 100644 --- a/.replit +++ b/.replit @@ -65,7 +65,7 @@ CORP_GUILD_ID = "373713073594302464" FOUNDATION_GUILD_ID = "1338564560277344287" WHITELISTED_USERS = "113472107526033408" ALERT_CHANNEL_ID = "1435905356932055233" -BASE_URL = "https://bot.aethex.dev" +BASE_URL = "https://aethex.bot" NEXUS_AUTH_URL = "https://aethex.tech" NEXUS_SERVICE_URL = "https://aethex.cloud" diff --git a/aethex-bot/.env.example b/aethex-bot/.env.example index 64903c2..9999cc7 100644 --- a/aethex-bot/.env.example +++ b/aethex-bot/.env.example @@ -15,7 +15,7 @@ STRIPE_PRICE_BRANDING_PRO=price_xxx STRIPE_PRICE_BRANDING_ENTERPRISE=price_xxx # OAuth & Web Dashboard -BASE_URL=https://bot.aethex.dev +BASE_URL=https://aethex.bot SESSION_SECRET=random_secret_string # Optional: AeThex Realm Guild IDs diff --git a/aethex-bot/bot.js b/aethex-bot/bot.js index ad6aa41..887a982 100644 --- a/aethex-bot/bot.js +++ b/aethex-bot/bot.js @@ -609,7 +609,7 @@ client.on('guildCreate', async (guild) => { }, { name: 'šŸ“– Need Help?', - value: '[Documentation](https://bot.aethex.dev/commands) • [Support Server](https://discord.gg/aethex)' + value: '[Documentation](https://aethex.bot/commands) • [Support Server](https://discord.gg/aethex)' } ], footer: { text: 'AeThex Bot • Powering Communities' }, diff --git a/aethex-bot/commands/branding.js b/aethex-bot/commands/branding.js index d05294c..d4b2ac2 100644 --- a/aethex-bot/commands/branding.js +++ b/aethex-bot/commands/branding.js @@ -53,7 +53,7 @@ module.exports = { .setDescription('Claim your custom URL handle (Pro tier+)') .addStringOption(opt => opt .setName('handle') - .setDescription('Your custom handle (aethex.dev/YOUR-HANDLE)') + .setDescription('Your custom handle (aethex.bot/YOUR-HANDLE)') .setRequired(true) .setMinLength(3) .setMaxLength(30) @@ -132,7 +132,7 @@ module.exports = { { name: 'Custom Footer', value: branding.custom_footer_text || '*Not set*', inline: true }, { name: 'Embed Color', value: branding.custom_embed_color || '*Default*', inline: true }, { name: 'Custom Avatar', value: branding.custom_bot_avatar_url ? 'āœ… Set' : '*Not set*', inline: true }, - { name: 'Custom Handle', value: branding.custom_handle ? `aethex.dev/${branding.custom_handle}` : '*Not claimed*', inline: true }, + { name: 'Custom Handle', value: branding.custom_handle ? `aethex.bot/${branding.custom_handle}` : '*Not claimed*', inline: true }, { name: 'Landing Page', value: branding.landing_title ? 'āœ… Configured' : '*Not set*', inline: true } ) .setFooter({ text: 'Use /branding tiers to see upgrade options' }) @@ -146,11 +146,11 @@ module.exports = { .addComponents( new ButtonBuilder() .setLabel('Manage on Dashboard') - .setURL(`https://bot.aethex.dev/dashboard?guild=${guildId}&page=branding`) + .setURL(`https://aethex.bot/dashboard?guild=${guildId}&page=branding`) .setStyle(ButtonStyle.Link), new ButtonBuilder() .setLabel('Upgrade Tier') - .setURL('https://bot.aethex.dev/pricing#branding') + .setURL('https://aethex.bot/pricing#branding') .setStyle(ButtonStyle.Link) ); @@ -176,7 +176,7 @@ module.exports = { }, { name: '⭐ Pro - $35/mo', - value: '• Everything in Basic\n• Custom bot avatar\n• Custom URL handle\n• Landing page\n• `aethex.dev/your-name`', + value: '• Everything in Basic\n• Custom bot avatar\n• Custom URL handle\n• Landing page\n• `aethex.bot/your-name`', inline: true }, { @@ -191,7 +191,7 @@ module.exports = { .addComponents( new ButtonBuilder() .setLabel('Subscribe Now') - .setURL('https://bot.aethex.dev/pricing#branding') + .setURL('https://aethex.bot/pricing#branding') .setStyle(ButtonStyle.Link) .setEmoji('šŸ’³') ); @@ -327,7 +327,7 @@ module.exports = { new EmbedBuilder() .setColor('#22c55e') .setTitle('āœ… Handle Claimed!') - .setDescription(`Your community page is now live at:\n\nšŸ”— **https://bot.aethex.dev/${result.handle}**`) + .setDescription(`Your community page is now live at:\n\nšŸ”— **https://aethex.bot/${result.handle}**`) .addFields( { name: 'Configure Your Page', value: 'Use `/branding landing` to customize your page content.' } ) @@ -380,7 +380,7 @@ module.exports = { new EmbedBuilder() .setColor('#22c55e') .setTitle('āœ… Landing Page Updated') - .setDescription(`View your page at:\nšŸ”— **https://bot.aethex.dev/${branding.custom_handle}**`) + .setDescription(`View your page at:\nšŸ”— **https://aethex.bot/${branding.custom_handle}**`) .addFields( Object.entries(updates).map(([key, value]) => ({ name: key.replace('landing_', '').replace('_', ' '), diff --git a/aethex-bot/listeners/feedSync.js b/aethex-bot/listeners/feedSync.js index ed486ab..bc47d63 100644 --- a/aethex-bot/listeners/feedSync.js +++ b/aethex-bot/listeners/feedSync.js @@ -86,7 +86,7 @@ async function sendPostToDiscord(post, authorInfo = null) { const rawAvatar = author?.avatar_url || ""; const authorAvatar = rawAvatar.startsWith("http://") || rawAvatar.startsWith("https://") ? rawAvatar - : "https://aethex.dev/logo.png"; + : "https://aethex.bot/logo.png"; const arm = post.arm_affiliation || "labs"; const embed = new EmbedBuilder() @@ -94,13 +94,13 @@ async function sendPostToDiscord(post, authorInfo = null) { .setAuthor({ name: `${getArmEmoji(arm)} ${authorName}`, iconURL: authorAvatar, - url: `https://aethex.dev/creators/${author?.username || post.author_id}`, + url: `https://aethex.bot/creators/${author?.username || post.author_id}`, }) .setDescription(content.text || post.title || "New post") .setTimestamp(post.created_at ? new Date(post.created_at) : new Date()) .setFooter({ text: `Posted from AeThex • ${arm.charAt(0).toUpperCase() + arm.slice(1)}`, - iconURL: "https://aethex.dev/logo.png", + iconURL: "https://aethex.bot/logo.png", }); if (content.mediaUrl) { diff --git a/aethex-bot/migrations/add_whitelabel_branding.sql b/aethex-bot/migrations/add_whitelabel_branding.sql index da7190e..29df599 100644 --- a/aethex-bot/migrations/add_whitelabel_branding.sql +++ b/aethex-bot/migrations/add_whitelabel_branding.sql @@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS server_branding ( custom_footer_text VARCHAR(200), custom_embed_color VARCHAR(10), - -- Custom Handle (aethex.dev/{handle}) + -- Custom Handle (aethex.bot/{handle}) custom_handle VARCHAR(50) UNIQUE, handle_verified BOOLEAN DEFAULT false, @@ -98,5 +98,5 @@ ON CONFLICT (handle) DO NOTHING; -- Enterprise ($75/mo): + Analytics, priority support, custom domain support COMMENT ON TABLE server_branding IS 'White-label branding configuration for servers'; -COMMENT ON COLUMN server_branding.custom_handle IS 'Custom URL handle at aethex.dev/{handle}'; +COMMENT ON COLUMN server_branding.custom_handle IS 'Custom URL handle at aethex.bot/{handle}'; COMMENT ON COLUMN server_branding.tier IS 'Branding tier: free, basic, pro, enterprise'; diff --git a/aethex-bot/public/commands.html b/aethex-bot/public/commands.html index 615efec..0696b0a 100644 --- a/aethex-bot/public/commands.html +++ b/aethex-bot/public/commands.html @@ -8,20 +8,20 @@ - + - + - + - + - + diff --git a/aethex-bot/public/community.html b/aethex-bot/public/community.html index 00ad213..f55d411 100644 --- a/aethex-bot/public/community.html +++ b/aethex-bot/public/community.html @@ -451,7 +451,7 @@ // Name and handle document.getElementById('name').textContent = data.title || data.name; - document.getElementById('handle').textContent = `aethex.dev/${data.handle}`; + document.getElementById('handle').textContent = `aethex.bot/${data.handle}`; // Tier badge if (data.tier === 'pro' || data.tier === 'enterprise') { diff --git a/aethex-bot/public/dashboard.html b/aethex-bot/public/dashboard.html index 5b05b98..46db529 100644 --- a/aethex-bot/public/dashboard.html +++ b/aethex-bot/public/dashboard.html @@ -2552,7 +2552,7 @@
- aethex.dev/ + aethex.bot/
Alphanumeric and hyphens only, 3-50 characters @@ -2571,7 +2571,7 @@