move feeds to ptb
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import sentry_sdk
|
||||
from django.db import models
|
||||
from djconfig import config
|
||||
from telebot import TeleBot
|
||||
from telebot.types import InputMediaPhoto
|
||||
from telegram import Bot, InputMediaPhoto
|
||||
from vk_api import VkApi
|
||||
from vk_api.audio import VkAudio
|
||||
|
||||
@@ -18,7 +17,7 @@ class VKFeedModuleConfig(FeedModuleConfig):
|
||||
|
||||
MODULE_NAME = 'VK feed'
|
||||
|
||||
def execute(self, bot: TeleBot, chat_id, last_id):
|
||||
def execute(self, bot: Bot, chat_id, last_id):
|
||||
config._reload_maybe()
|
||||
|
||||
if last_id is None:
|
||||
|
Reference in New Issue
Block a user