Sending a message in a discord channel without events using PYTHON and DISCORD.PY leave running the other part of the code
I'm wondering on how to send a message in a specific channel using PYTHON and DISCORD.PY library. I'm just a little bit confused. I wrote a piece of code running correctly under python-binance library and sending messages via telegram library without any issues. The messages are sent when some conditions are met in the code without any telegram events, so the code is not locked in any point of the program. I need to achieve the same target but using discord instead. I'm not able to do so because I cannot find any example of this type. Could someone lights up an idea or a piece of code for me? Thanks to all.
source https://stackoverflow.com/questions/73681999/sending-a-message-in-a-discord-channel-without-events-using-python-and-discord-p
Comments
Post a Comment