An example of what I want to do would be something like this
i = 0
@bot.command()
async def IncreaseI(ctx):
global i
while True:
i += 1
sleep(5)
@bot.command()
async def PrintI(ctx):
await ctx.send(f"I: {i}")
but this doesn't work.