switch buttons
This commit is contained in:
parent
1cab901188
commit
d7b01d68f6
2
main.py
2
main.py
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user