Answer the question
In order to leave comments, you need to log in
How to write from a discord bot?
I want to make a bot that will send all messages from the server to the console. For example: [(channel name)] {(sender's nickname on the server)} wrote "(sent message)"
And also send messages through the console on behalf of the bot.
Answer the question
In order to leave comments, you need to log in
Download from github such an application for Windows or Linux called Discord Bot Client Click
Take your bot token from the developer portal and paste it into this application and sit as long as you like.
I want to make a bot that will send all messages from the server to the console. For example: [(channel name)] {(sender nickname on the server)} wrote "(message sent)"- you can just add processing for the on_message event, and just log what you need.
And also send messages through the console on behalf of the bot- you can make an asynchronous server that will receive the data that needs to be sent to the desired endpoint, and send it through the bot. FastApi for quickly writing a server is quite amiss.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question