@client.command()
async def oyunC(ctx, player1 : discord.Member):
sentences = ["Öldün","Yırttın","Öldün"
"Yırttın","Yırttın","Yırttın"
"Yırttın","Öldün","Yırttın"]
picker = random.choice(sentences)
await ctx.send(f"Sen: {picker}"+ player1.mention)
it gives me error: discord.ext.commands.errors.MissingRequiredArgument: player1 is a required argument that is missing.
can you guys explain to me, for using in this situation?
Try player: discord.Member and You need to give a sort of info like their id.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.