Im making a discord python bot using repl's database function and i cant figure out how to delete only one value from the database.
@client.command()
async def addvalue(ctx, arg):
db[str(ctx.author.id)] = [arg]
await ctx.send("value added")
@client.command()
async def removevalue(ctx, arg):
db[str(ctx.author.id)] = db[str(ctx.author.id)] - arg #ik this is a dumb way of trying this, this is just theory obv this wouldnt work