main ¶
Tux Discord Bot Main Entry Point.
This module serves as the main entry point for the Tux Discord bot application. It handles application initialization, error handling, and provides the run() function that starts the bot with proper lifecycle management.
Functions:
-
run–Instantiate and run the Tux application.
Classes¶
Functions¶
run ¶
Python
run() -> int
Instantiate and run the Tux application.
This function is the entry point for the Tux application. It creates an instance of the TuxApp class.
Returns:
-
int–Exit code: 0 for success, non-zero for failure
Notes
Logging is configured by the CLI script (scripts/base.py) before this is called.