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
@@ -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."
}
}
}