feat: FluxerList integration, log channel, and stability fixes

FluxerList:
- Auto server-count sync (posts on startup, then every 30 min, budget-aware)
- Vote check wired into the vote command (60s per-user cache)
- 429/Retry-After aware rate limiting with typed actionable errors
- Enable via config.fluxerlist.apiKey (fl_ key from FluxerList dashboard)

Log channel (ErrorChannel):
- Forwards all errors/warnings + crash reports to a Fluxer channel
- Startup confirmation message + owner-only logtest command
- Fix: @fluxerjs REST needs { body: { content } } shape (empty-message bug)
This commit is contained in:
NoLogicAlan committed 2026-09-23 02:25:53 +03:00
1 parent d9b529edd7
commit 2fbbdf0322
13 files changed
+534 -94

No files matched your search

+7 -4
View File
@@ -759,7 +759,7 @@
"notConfigured": "❌ تكامل FluxerList غير مُعدّ على هذا البوت. اطلب من مالك البوت إضافة مفتاح FluxerList API إلى الإعدادات.",
"noResourceId": "❌ لا يوجد معرف {{type}} مُعدّ. قدّمه عبر `{{prefix}}vote check {{type}} <id-or-slug>` أو عيّنه في config.json.",
"infoTitle": "تصويت FluxerList",
"infoDescription": "صوّت لهذا البوت/السيرفر على [FluxerList]({{siteUrl}})!\n\nFluxerList هي منصة لعرض السيرفرات والبوتات حيث يمكن للمستخدمين التصويت للمساعدة في نمو المجتمع.\n\n**الأوامر:**\n`{{prefix}}vote info` — اعرض هذه المعلومات ورابط التصويت\n`{{prefix}}vote info server` — اعرض رابط التصويت لسيرفر\n`{{prefix}}vote check` — تحقق ممن صوّت (للمالك فقط)\n`{{prefix}}vote voters` — اعرض قائمة الناخبين (للمالك فقط)",
"infoDescription": "صوّت لهذا البوت/السيرفر على [FluxerList]({{siteUrl}})!\n\nFluxerList هي منصة لعرض السيرفرات والبوتات حيث يمكن للمستخدمين التصويت للمساعدة في نمو المجتمع.\n\n**الأوامر:**\n`{{prefix}}vote info` — اعرض هذه المعلومات ورابط التصويت\n`{{prefix}}vote info server` — اعرض رابط التصويت لسيرفر\n`{{prefix}}vote check` — تحقق من حالة تصويتك\n`{{prefix}}vote voters` — اعرض قائمة الناخبين (للمالك فقط)",
"voteTitle": "صوّت على FluxerList",
"supportDesc": "ادعم هذا {{type}} بالتصويت على FluxerList!",
"voteLink": "**[صوّت واعرض الملف الشخصي]({{url}})**",
@@ -774,12 +774,15 @@
"pageInfo": "صفحة {{page}}/{{totalPages}} من {{total}} ناخب • استخدم ◀️▶️ للتنقل",
"voterTotal": "{{total}} ناخب(ناخبين) إجمالاً",
"defaultCommandsTitle": "**أوامر تصويت FluxerList:**",
"defaultCommandsList": "`{{prefix}}vote` — اعرض معلومات التصويت والرابط\n`{{prefix}}vote info` — اعرض معلومات التصويت ورابط التصويت\n`{{prefix}}vote check` — تحقق ممن صوّت (للمالك فقط)\n`{{prefix}}vote voters` — اعرض قائمة الناخبين (للمالك فقط)",
"defaultCommandsList": "`{{prefix}}vote` — اعرض معلومات التصويت والرابط\n`{{prefix}}vote info` — اعرض معلومات التصويت ورابط التصويت\n`{{prefix}}vote check` — تحقق من حالة تصويتك\n`{{prefix}}vote voters` — اعرض قائمة الناخبين (للمالك فقط)",
"optionsTitle": "**الخيارات:**",
"optionsList": "`{{prefix}}vote check server` — تحقق من الناخبين لسيرفر\n`{{prefix}}vote check bot` — تحقق من الناخبين لبوت",
"optionsList": "`{{prefix}}vote check server` — تحقق من حالة تصويتك لسيرفر\n`{{prefix}}vote check bot` — تحقق من حالة تصويتك لبوت",
"votedDate": "صوّت {{date}}",
"unknownUser": "مستخدم#{{id}}",
"unknownDate": "غير معروف"
"unknownDate": "غير معروف",
"checkYes": "✅ لديك **تصويت نشط** لهذا {{type}} — شكرًا لك!",
"checkNo": "❌ لم تصوّت لهذا {{type}} بعد (أو انتهت صلاحية تصويتك).\n**[صوّت الآن!]({{url}})**",
"checkUnknown": "⚠️ تعذّر التحقق من حالة تصويتك الآن — حاول مجددًا بعد دقيقة."
},
"seek": {
"nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!",
+7 -4
View File
@@ -759,7 +759,7 @@
"notConfigured": "❌ تەواوکاری FluxerList لەسەر ئەم بوتە ڕێکنەخراوە. لە خاوەنی بوتەکە بخۆشتن کلیلی FluxerList API زیاد بکات.",
"noResourceId": "❌ هیچ {{type}} ID ڕێکنەخراوە. بە `{{prefix}}vote check {{type}} <id-or-slug>` دایبنێ یان لە config.json دایبنێ.",
"infoTitle": "دەنگدانی FluxerList",
"infoDescription": "بۆ ئەم بوت/سێرڤەرە دەنگبدە لە [FluxerList]({{siteUrl}})!\n\nFluxerList پلاتفۆرمێکی لیستی سێرڤەر و بوتە کە بەکارهێنەران دەتوانن دەنگبدەن بۆ یارمەتیدانی گەشتی کۆمەڵگە.\n\n**فەرمانەکان:**\n`{{prefix}}vote info` — ئەم زانیارییە و لینکی دەنگدان نیشانبدە\n`{{prefix}}vote info server` — لینکی دەنگدان بۆ سێرڤەر نیشانبدە\n`{{prefix}}vote check` — پشکنی کێ دەنگیدا (تەنها بۆ خاوەن)\n`{{prefix}}vote voters` — لیستی دەنگدەران نیشانبدە (تەنها بۆ خاوەن)",
"infoDescription": "بۆ ئەم بوت/سێرڤەرە دەنگبدە لە [FluxerList]({{siteUrl}})!\n\nFluxerList پلاتفۆرمێکی لیستی سێرڤەر و بوتە کە بەکارهێنەران دەتوانن دەنگبدەن بۆ یارمەتیدانی گەشتی کۆمەڵگە.\n\n**فەرمانەکان:**\n`{{prefix}}vote info` — ئەم زانیارییە و لینکی دەنگدان نیشانبدە\n`{{prefix}}vote info server` — لینکی دەنگدان بۆ سێرڤەر نیشانبدە\n`{{prefix}}vote check` — دۆخی دەنگدانی خۆت بپشکنە\n`{{prefix}}vote voters` — لیستی دەنگدەران نیشانبدە (تەنها بۆ خاوەن)",
"voteTitle": "لە FluxerList دەنگبدە",
"supportDesc": "ئەم {{type}} پشتگیری بکە بە دەنگدان لە FluxerList!",
"voteLink": "**[دەنگبدە و پرۆفایل ببینە]({{url}})**",
@@ -774,12 +774,15 @@
"pageInfo": "لاپەڕە {{page}}/{{totalPages}} لە {{total}} دەنگدەر • بۆ ناوەڕۆک ◀️▶️ بەکاربهێنە",
"voterTotal": "{{total}} دەنگدەر(ەکان) بە گشتی",
"defaultCommandsTitle": "**فەرمانەکانی دەنگدانی FluxerList:**",
"defaultCommandsList": "`{{prefix}}vote` — زانیاری دەنگدان و لینک نیشانبدە\n`{{prefix}}vote info` — زانیاری دەنگدان و لینک نیشانبدە\n`{{prefix}}vote check` — پشکنی کێ دەنگیدا (تەنها بۆ خاوەن)\n`{{prefix}}vote voters` — لیستی دەنگدەران نیشانبدە (تەنها بۆ خاوەن)",
"defaultCommandsList": "`{{prefix}}vote` — زانیاری دەنگدان و لینک نیشانبدە\n`{{prefix}}vote info` — زانیاری دەنگدان و لینک نیشانبدە\n`{{prefix}}vote check` — دۆخی دەنگدانی خۆت بپشکنە\n`{{prefix}}vote voters` — لیستی دەنگدەران نیشانبدە (تەنها بۆ خاوەن)",
"optionsTitle": "**هەڵبژاردنەکان:**",
"optionsList": "`{{prefix}}vote check server` — دەنگدەرانی سێرڤەر بپشکنە\n`{{prefix}}vote check bot` — دەنگدەرانی بوت بپشکنە",
"optionsList": "`{{prefix}}vote check server` — دۆخی دەنگدانی خۆت بۆ سێرڤەر بپشکنە\n`{{prefix}}vote check bot` — دۆخی دەنگدانی خۆت بۆ بوت بپشکنە",
"votedDate": "دەنگیدا {{date}}",
"unknownUser": "بەکارهێنەر#{{id}}",
"unknownDate": "نەناسراو"
"unknownDate": "نەناسراو",
"checkYes": "✅ دەنگدانی **چالاکیت هەیە** بۆ ئەم {{type}} — سوپاس!",
"checkNo": "❌ هێشتا دەنگت بۆ ئەم {{type}} نەداوە (یان دەنگت کۆتایی هاتووە).\n**[ئێستا دەنگبدە!]({{url}})**",
"checkUnknown": "⚠️ ئێستا نەتوانرا دۆخی دەنگدانت بپشکنرێت — دوای خولەکێک دووبارە هەوڵبدە."
},
"seek": {
"nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!",
+7 -4
View File
@@ -759,7 +759,7 @@
"notConfigured": "❌ FluxerList-Integration ist auf diesem Bot nicht konfiguriert. Bitte den Bot-Besitzer, einen FluxerList API-Schlüssel zur Konfiguration hinzuzufügen.",
"noResourceId": "❌ Keine {{type}}-ID konfiguriert. Gib sie mit `{{prefix}}vote check {{type}} <id-or-slug>` an oder setze sie in config.json.",
"infoTitle": "FluxerList-Abstimmung",
"infoDescription": "Stimme für diesen Bot/Server auf [FluxerList]({{siteUrl}})!\n\nFluxerList ist eine Server- und Bot-Auflistungsplattform, auf der Nutzer abstimmen können, um das Community-Wachstum zu fördern.\n\n**Befehle:**\n`{{prefix}}vote info` — Zeige diese Info & Abstimmungslink\n`{{prefix}}vote info server` — Zeige Abstimmungslink für einen Server\n`{{prefix}}vote check` — Prüfe, wer abgestimmt hat (nur Besitzer)\n`{{prefix}}vote voters` — Zeige die Wählerliste (nur Besitzer)",
"infoDescription": "Stimme für diesen Bot/Server auf [FluxerList]({{siteUrl}})!\n\nFluxerList ist eine Server- und Bot-Auflistungsplattform, auf der Nutzer abstimmen können, um das Community-Wachstum zu fördern.\n\n**Befehle:**\n`{{prefix}}vote info` — Zeige diese Info & Abstimmungslink\n`{{prefix}}vote info server` — Zeige Abstimmungslink für einen Server\n`{{prefix}}vote check` — Prüfe dein eigenes Votum\n`{{prefix}}vote voters` — Zeige die Wählerliste (nur Besitzer)",
"voteTitle": "Auf FluxerList abstimmen",
"supportDesc": "Unterstütze dieses {{type}} durch Abstimmung auf FluxerList!",
"voteLink": "**[Abstimmen & Profil ansehen]({{url}})**",
@@ -774,12 +774,15 @@
"pageInfo": "Seite {{page}}/{{totalPages}} von {{total}} Wählern • Nutze ◀️▶️ zum Navigieren",
"voterTotal": "{{total}} Wähler insgesamt",
"defaultCommandsTitle": "**FluxerList-Abstimmungsbefehle:**",
"defaultCommandsList": "`{{prefix}}vote` — Zeige Abstimmungsinfo & Link\n`{{prefix}}vote info` — Zeige Abstimmungsinfo & Link\n`{{prefix}}vote check` — Prüfe, wer abgestimmt hat (nur Besitzer)\n`{{prefix}}vote voters` — Zeige Wählerliste (nur Besitzer)",
"defaultCommandsList": "`{{prefix}}vote` — Zeige Abstimmungsinfo & Link\n`{{prefix}}vote info` — Zeige Abstimmungsinfo & Link\n`{{prefix}}vote check` — Prüfe dein eigenes Votum\n`{{prefix}}vote voters` — Zeige Wählerliste (nur Besitzer)",
"optionsTitle": "**Optionen:**",
"optionsList": "`{{prefix}}vote check server` — Prüfe Wähler für einen Server\n`{{prefix}}vote check bot` — Prüfe Wähler für einen Bot",
"optionsList": "`{{prefix}}vote check server` — Prüfe dein Votum für einen Server\n`{{prefix}}vote check bot` — Prüfe dein Votum für einen Bot",
"votedDate": "abgestimmt {{date}}",
"unknownUser": "Benutzer#{{id}}",
"unknownDate": "Unbekannt"
"unknownDate": "Unbekannt",
"checkYes": "✅ Du hast ein **aktives Votum** für diesen {{type}} — danke!",
"checkNo": "❌ Du hast für diesen {{type}} noch nicht abgestimmt (oder dein Votum ist abgelaufen).\n**[Jetzt voten!]({{url}})**",
"checkUnknown": "⚠️ Dein Votum konnte gerade nicht geprüft werden — versuche es in einer Minute erneut."
},
"seek": {
"nothingPlaying": "❌ Es wird gerade nichts abgespielt!",
+7 -4
View File
@@ -749,7 +749,7 @@
"notConfigured": "❌ FluxerList integration is not configured on this bot. Ask the bot owner to add a FluxerList API key to the config.",
"noResourceId": "❌ No {{type}} ID configured. Provide it with `{{prefix}}vote check {{type}} <id-or-slug>` or set it in config.json.",
"infoTitle": "FluxerList Vote",
"infoDescription": "Vote for this bot/server on [FluxerList]({{siteUrl}})!\n\nFluxerList is a server and bot listing platform where users can vote to help grow the community.\n\n**Commands:**\n`{{prefix}}vote info` — Show this info & vote link\n`{{prefix}}vote info server` — Show vote link for a server\n`{{prefix}}vote check` — Check who voted (owner-only)\n`{{prefix}}vote voters` — View the voter list (owner-only)",
"infoDescription": "Vote for this bot/server on [FluxerList]({{siteUrl}})!\n\nFluxerList is a server and bot listing platform where users can vote to help grow the community.\n\n**Commands:**\n`{{prefix}}vote info` — Show this info & vote link\n`{{prefix}}vote info server` — Show vote link for a server\n`{{prefix}}vote check` — Check your own vote status\n`{{prefix}}vote voters` — View the voter list (owner-only)",
"voteTitle": "Vote on FluxerList",
"supportDesc": "Support this {{type}} by voting on FluxerList!",
"voteLink": "**[Vote & View Profile]({{url}})**",
@@ -764,12 +764,15 @@
"pageInfo": "Page {{page}}/{{totalPages}} of {{total}} voters • Use ◀️▶️ to navigate",
"voterTotal": "{{total}} voter(s) total",
"defaultCommandsTitle": "**FluxerList Vote Commands:**",
"defaultCommandsList": "`{{prefix}}vote` — Show vote info & link\n`{{prefix}}vote info` — Show voting info & vote link\n`{{prefix}}vote check` — Check who voted (owner-only)\n`{{prefix}}vote voters` — View the voter list (owner-only)",
"defaultCommandsList": "`{{prefix}}vote` — Show vote info & link\n`{{prefix}}vote info` — Show voting info & vote link\n`{{prefix}}vote check` — Check your own vote status\n`{{prefix}}vote voters` — View the voter list (owner-only)",
"optionsTitle": "**Options:**",
"optionsList": "`{{prefix}}vote check server` — Check voters for a server\n`{{prefix}}vote check bot` — Check voters for a bot",
"optionsList": "`{{prefix}}vote check server` — Check your vote status for a server\n`{{prefix}}vote check bot` — Check your vote status for a bot",
"votedDate": "voted {{date}}",
"unknownUser": "User#{{id}}",
"unknownDate": "Unknown"
"unknownDate": "Unknown",
"checkYes": "✅ You **have an active vote** for this {{type}} — thank you!",
"checkNo": "❌ You haven't voted for this {{type}} yet (or your vote expired).\n**[Vote now!]({{url}})**",
"checkUnknown": "⚠️ Couldn't check your vote status right now — try again in a minute."
},
"volumedefault": {
"title": "🔊 Volume Settings",
+7 -4
View File
@@ -759,7 +759,7 @@
"notConfigured": "❌ Integração com FluxerList não está configurada neste bot. Peça ao dono do bot para adicionar uma chave de API do FluxerList na configuração.",
"noResourceId": "❌ Nenhum ID de {{type}} configurado. Forneça com `{{prefix}}vote check {{type}} <id-or-slug>` ou defina em config.json.",
"infoTitle": "Votação FluxerList",
"infoDescription": "Vote para este bot/servidor no [FluxerList]({{siteUrl}})!\n\nFluxerList é uma plataforma de listagem de servidores e bots onde os usuários podem votar para ajudar a crescer a comunidade.\n\n**Comandos:**\n`{{prefix}}vote info` — Mostra esta informação e link de votação\n`{{prefix}}vote info server` — Mostra link de votação para um servidor\n`{{prefix}}vote check` — Verifique quem votou (somente dono)\n`{{prefix}}vote voters` — Veja a lista de eleitores (somente dono)",
"infoDescription": "Vote para este bot/servidor no [FluxerList]({{siteUrl}})!\n\nFluxerList é uma plataforma de listagem de servidores e bots onde os usuários podem votar para ajudar a crescer a comunidade.\n\n**Comandos:**\n`{{prefix}}vote info` — Mostra esta informação e link de votação\n`{{prefix}}vote info server` — Mostra link de votação para um servidor\n`{{prefix}}vote check` — Verifique seu próprio voto\n`{{prefix}}vote voters` — Veja a lista de eleitores (somente dono)",
"voteTitle": "Vote no FluxerList",
"supportDesc": "Apoie este {{type}} votando no FluxerList!",
"voteLink": "**[Vote e Veja o Perfil]({{url}})**",
@@ -774,12 +774,15 @@
"pageInfo": "Página {{page}}/{{totalPages}} de {{total}} eleitores • Use ◀️▶️ para navegar",
"voterTotal": "{{total}} eleitor(es) no total",
"defaultCommandsTitle": "**Comandos de Votação FluxerList:**",
"defaultCommandsList": "`{{prefix}}vote` — Mostra info de votação e link\n`{{prefix}}vote info` — Mostra info de votação e link\n`{{prefix}}vote check` — Verifique quem votou (somente dono)\n`{{prefix}}vote voters` — Veja a lista de eleitores (somente dono)",
"defaultCommandsList": "`{{prefix}}vote` — Mostra info de votação e link\n`{{prefix}}vote info` — Mostra info de votação e link\n`{{prefix}}vote check` — Verifique seu próprio voto\n`{{prefix}}vote voters` — Veja a lista de eleitores (somente dono)",
"optionsTitle": "**Opções:**",
"optionsList": "`{{prefix}}vote check server` — Verifique eleitores de um servidor\n`{{prefix}}vote check bot` — Verifique eleitores de um bot",
"optionsList": "`{{prefix}}vote check server` — Verifique seu voto em um servidor\n`{{prefix}}vote check bot` — Verifique seu voto em um bot",
"votedDate": "votou {{date}}",
"unknownUser": "Usuário#{{id}}",
"unknownDate": "Desconhecido"
"unknownDate": "Desconhecido",
"checkYes": "✅ Você **tem um voto ativo** para este {{type}} — obrigado!",
"checkNo": "❌ Você ainda não votou neste {{type}} (ou seu voto expirou).\n**[Vote agora!]({{url}})**",
"checkUnknown": "⚠️ Não foi possível verificar seu voto agora — tente novamente em um minuto."
},
"seek": {
"nothingPlaying": "❌ Não está tocando nada no momento!",
+7 -4
View File
@@ -801,7 +801,7 @@
"notConfigured": "❌ FluxerList entegrasyonu bu botta yapılandırılmamış. Bot sahibinden FluxerList API anahtarı eklemesini isteyin.",
"noResourceId": "❌ {{type}} ID yapılandırılmamış. `{{prefix}}vote check {{type}} <id-or-slug>` ile sağlayın veya config.json'da ayarlayın.",
"infoTitle": "FluxerList Oylama",
"infoDescription": "Bu bot/sunucu için [FluxerList]({{siteUrl}}) üzerinde oy verin!\n\nFluxerList, kullanıcıların topluluğun büyümesine yardımcı olmak için oy verebileceği bir sunucu ve bot listeleme platformudur.\n\n**Komutlar:**\n`{{prefix}}vote info` — Bu bilgiyi ve oylama bağlantısını göster\n`{{prefix}}vote info server` — Bir sunucu için oylama bağlantısını göster\n`{{prefix}}vote check` — Kimin oy verdiğini kontrol et (sadece sahip)\n`{{prefix}}vote voters` — Oy verenler listesini görüntüle (sadece sahip)",
"infoDescription": "Bu bot/sunucu için [FluxerList]({{siteUrl}}) üzerinde oy verin!\n\nFluxerList, kullanıcıların topluluğun büyümesine yardımcı olmak için oy verebileceği bir sunucu ve bot listeleme platformudur.\n\n**Komutlar:**\n`{{prefix}}vote info` — Bu bilgiyi ve oylama bağlantısını göster\n`{{prefix}}vote info server` — Bir sunucu için oylama bağlantısını göster\n`{{prefix}}vote check` — Kendi oy durumunu kontrol et\n`{{prefix}}vote voters` — Oy verenler listesini görüntüle (sadece sahip)",
"voteTitle": "FluxerList'te Oy Ver",
"supportDesc": "Bu {{type}} için FluxerList'te oy vererek destekleyin!",
"voteLink": "**[Oy Ver ve Profili Görüntüle]({{url}})**",
@@ -816,12 +816,15 @@
"pageInfo": "Sayfa {{page}}/{{totalPages}} / {{total}} oy veren • Gezinmek için ◀️▶️ kullanın",
"voterTotal": "Toplam {{total}} oy veren",
"defaultCommandsTitle": "**FluxerList Oylama Komutları:**",
"defaultCommandsList": "`{{prefix}}vote` — Oylama bilgisini ve bağlantıyı göster\n`{{prefix}}vote info` — Oylama bilgisini ve bağlantıyı göster\n`{{prefix}}vote check` — Kimin oy verdiğini kontrol et (sadece sahip)\n`{{prefix}}vote voters` — Oy verenler listesini görüntüle (sadece sahip)",
"defaultCommandsList": "`{{prefix}}vote` — Oylama bilgisini ve bağlantıyı göster\n`{{prefix}}vote info` — Oylama bilgisini ve bağlantıyı göster\n`{{prefix}}vote check` — Kendi oy durumunu kontrol et\n`{{prefix}}vote voters` — Oy verenler listesini görüntüle (sadece sahip)",
"optionsTitle": "**Seçenekler:**",
"optionsList": "`{{prefix}}vote check server` — Bir sunucu için oy verenleri kontrol et\n`{{prefix}}vote check bot` — Bir bot için oy verenleri kontrol et",
"optionsList": "`{{prefix}}vote check server` — Bir sunucu için oy durumunu kontrol et\n`{{prefix}}vote check bot` — Bir bot için oy durumunu kontrol et",
"votedDate": "{{date}} tarihinde oy verdi",
"unknownUser": "Kullanıcı#{{id}}",
"unknownDate": "Bilinmiyor"
"unknownDate": "Bilinmiyor",
"checkYes": "✅ Bu {{type}} için **aktif oyunun var** — teşekkürler!",
"checkNo": "❌ Bu {{type}} için henüz oy vermedin (ya da oyunun süresi doldu).\n**[Hemen oy ver!]({{url}})**",
"checkUnknown": "⚠️ Oy durumu şu anda kontrol edilemedi — bir dakika sonra tekrar dene."
}
}
}