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.
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
Here:
Insert your values ββin <channel_id> and <your_token>, after this, execute the code in terminal.
I hope it helps.