from django.core.management import BaseCommand from vacancies.main.bot import application class Command(BaseCommand): help = "Run bot" def handle(self, *args, **options): application.run_polling()