in

Get prefix before key in db


So im using replits database system and i have a command where if message.content.lower() in db.keys then if will respond with the value of the key.

for example

but i want it so that it has to have “$” in front so $fff

if message.content.lower() in db.keys()':
        info = db[f'{message.content.lower()}']
        await message.channel.send(f'{info}')

above is my code, ive tryed also:

if message.content.lower() in f'${db.keys()}':
        info = db[f'{message.content.lower()}']
        await message.channel.send(f'{info}')

and:

if message.content.lower() == f'${db.keys()}':
        info = db[f'{message.content.lower()}']
        await message.channel.send(f'{info}')



Source: https://stackoverflow.com/questions/70600756/get-prefix-before-key-in-db

Kratos Project Template For Golang

Trouble installing brownie using pip