11 lines
297 B
Python
11 lines
297 B
Python
import config
|
|
import handlers
|
|
import tasks
|
|
|
|
from vkbottle.bot import Bot as VkBot
|
|
|
|
|
|
bot = VkBot(config.Config['api_token'], labeler=handlers.labeler)
|
|
bot.loop_wrapper.on_startup.append(tasks.startup_task(bot.api))
|
|
bot.loop_wrapper.add_task(tasks.daily_maintenance_task(bot.api))
|
|
bot.run_forever()
|