Hi I am making a bot to create a leaderboard , here is the code

```
@bot.command(pass_context=True)
async def on(ctx):
    await ctx.send("How many total teams are there?")
    t = await get_input_of_type(int, ctx)
    totalteam = 0
    while totalteam <= t:
        await ctx.send("Enter team name :")
        teamname1 = await get_input_of_type(str, ctx)
        await ctx.send("How many kills did they get?")
        firstnum1 = await get_input_of_type(int, ctx)
        await ctx.send("How much Position points did they score?")
        secondnum1 = await get_input_of_type(int, ctx)
        totalteam -=1
    await ctx.channel.send("**__Today's Result:__**")
    await ctx.channel.send("Format: Team Name/Kills/Position Points/Total Points")
    await ctx.send(f"{teamname1} | {firstnum1} | {secondnum1} = {firstnum1+secondnum1}")

```

This command enables the user to choose for how many teams he want to create the leaderboard.
The loop for total teams work but I want something that shows the result in loop too.
I want that it should send total points of every team the user entered. Now it just sends the points of first entry.