diff --git a/entry_point.sh b/entry_point.sh index 4eb5beb..b6be637 100644 --- a/entry_point.sh +++ b/entry_point.sh @@ -10,5 +10,5 @@ fi shopt -s nocasematch if [ "${USE_METRICITY:-true}" = "true" ]; then - poetry run start + poetry run python -m metricity fi diff --git a/metricity/__main__.py b/metricity/__main__.py index caf8ef6..86aba6a 100644 --- a/metricity/__main__.py +++ b/metricity/__main__.py @@ -44,6 +44,4 @@ async def main() -> None: await _bot.start(BotConfig.token) -def start() -> None: - """Start the Metricity application.""" - asyncio.run(main()) +asyncio.run(main())