Access to discord bot without a listening for messages #9598
Unanswered
mucsacso03
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It would be helpful to see your code, however it should be noted that you do not need to call run()/start() if your only goal is to send messages (and not receive anything from discord). What you'll need to do instead is call client.login and then after that you can make calls to send those messages (using partial objects to get the channel object you need) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to send messages to a discord server and get already sent messages, but I do not receive any input from the server. If I start this python discord bot it stays in a loop and blocks my application. How can I access the connection in the bot to send simple queries (POST, GET) when needed?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions