Files
esefandClaude Opus 5.5 d514601651 firebase_website: drop the sysinfo sync to Firestore
The website bot status tab was replaced by the VEGA status page, so
nothing reads sysinfo/server anymore. get_db() stays for calendar and
bucketlist.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-10 15:23:41 +03:00

19 lines
635 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""firebase_website — Bot → Firestore access using the Admin SDK.
Requires GOOGLE_APPLICATION_CREDENTIALS env var pointing to a service-account JSON.
Loaded as a Discord extension only so missing credentials fail at startup.
The calendar and bucketlist cogs use get_db().
Usage from main.py:
await bot.load_extension("firebase_website")
"""
######################################################################
from discord.ext import commands
from .config import get_db # noqa: re‑export for calendar, bucketlist, etc.
async def setup(bot: commands.Bot) -> None:
get_db() # fail fast if credentials are missing