I am currently checking out the Python discord wrapper found here but it doesn't seem to work due to the above mentioned error. I tried calling the nest_asyncio.apply()
before running the client.run()
function but it doesn't seem to work either as mentioned in this other question. This question is possibly a duplicate but couldn't add a comment in the previous one.
I tried this:
nest_asyncio.apply()
client = discord.Client()
client.run(bot_token)
as well as this to no avail:
client = discord.Client()
nest_asyncio.apply(client.run(bot_token))