@dp.message_handler(content_types=['text'])
async def text(message):
if '/create' in message.text:
important_text = message.text.replace('/create ', '')
await bot.send_message(message.chat.id, message.text)
connect = sqlite3.connect(important_text + '.db')
cursor = connect.cursor()
connect.commit()
def callback_answer(call):
bot.send_message(message.chat.id,f'#######',parse_mode='Markdown', reply_markup=inline_markup)