move feeds to ptb
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
from tempfile import TemporaryDirectory
|
||||
|
||||
import sentry_sdk
|
||||
from django.db import models
|
||||
from djconfig import config
|
||||
from telebot import TeleBot
|
||||
from telebot.types import InputMediaPhoto, InputMediaVideo
|
||||
from bs4 import BeautifulSoup
|
||||
import requests
|
||||
from PIL import Image
|
||||
from telegram import Bot
|
||||
|
||||
from feeds.models import FeedModuleConfig
|
||||
|
||||
@@ -20,7 +16,7 @@ class TapasFeedModuleConfig(FeedModuleConfig):
|
||||
|
||||
MODULE_NAME = 'Tapas.io comic'
|
||||
|
||||
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