Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

Help me on this database problem

Pokedric
Pokedric

from replit import db

username = "{ctx.author.name}"
db["{ctx.author.name}"] = "iron","gold"

@bot
.command(name="ironbal")
async def ironbal(ctx: commands.Context):
await ctx.send(f"You have db["(username)"]")

It doesn't send it. The part: "]") has a red line below. How do i fix this?

1 year ago
You are viewing a single comment. View All
1