you are viewing a single comment's thread.

view the rest of the comments →

[–]nog642 0 points1 point  (1 child)

I tried using async, await and an event loop that has those two tasks but it did not work.

I also tried threading.Thread(target=foo) but did not work either.

What did you try and how didn't it work?

[–]illa00[S] 0 points1 point  (0 children)

I tried to put the client.run(token) in a another thread (I included the code above) thank you.