move feeds to ptb
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
import logging
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
import requests
|
||||
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
|
||||
from vk_api import VkApi
|
||||
from vk_api.audio import VkAudio
|
||||
|
||||
@@ -21,7 +16,7 @@ class VKMusicFeedModuleConfig(FeedModuleConfig):
|
||||
|
||||
MODULE_NAME = 'VK music'
|
||||
|
||||
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