|
|
|
@ -87,8 +87,8 @@ async def send_post(post: E621Post, tag_list: List[str]):
|
|
|
|
|
mp4_path.unlink()
|
|
|
|
|
elif post.file.ext in ('png', 'jpg'):
|
|
|
|
|
markup = InlineKeyboardMarkup(inline_keyboard=[[
|
|
|
|
|
InlineKeyboardButton(text='Safe', callback_data='send pics'),
|
|
|
|
|
InlineKeyboardButton(text='NSFW', callback_data='send nsfw'),
|
|
|
|
|
InlineKeyboardButton(text='Safe', callback_data='send pics'),
|
|
|
|
|
]])
|
|
|
|
|
# if post.file.size > 10000000:
|
|
|
|
|
logging.warning('compressing')
|
|
|
|
|