I'm trying to make a bot. I'd like to have the ability to change variables that the bot uses while it's running without using threading. Threading isn't an option because threading and asyncio don't mix. Right now I don't have any code, it's just the concept that I need to grasp before I make this bot. But for example:
var = ("Hello")
while True:
print(var)
I need to be able to change (in this case) "var" while the code is running without using threading.