This is for a discord bot I am making, using the discord.py API in which basically everything is done in these async functions.
Lets say I have an async method thats look like this:
async def async_function():
await something()
and a regular method in which I would like to run the async function:
def regular():
if condition:
async_function()
Can I run the async method in a regular method, and if I can, how?