index
Application entry point for the Ex Astra Discord bot.
Startup sequence:
- Loads environment variables via
dotenv/config. - Initialises the PostgreSQL connection (
initializeDataSource). - Dynamically imports every command module from
commands/<category>/*.jsand registers it on theclient. - Dynamically imports every event handler from
events/*.js. - Logs the client in with
DISCORD_TOKEN.