AutoChat is a simple automation script that sends random messages to a specific Discord channel and deletes them shortly after. It’s great for simulating activity, bot testing, or just for fun on your server.
- Automatically sends random messages from a predefined list.
- Deletes each sent message after a short delay.
- Uses direct Discord API calls with the
requestslibrary.
- Picks a random message from the
messageslist. - Sends it to the designated Discord channel via Discord API v9.
- Waits 1 second and then deletes the message.
Before using this script, make sure to:
- Replace the Authorization token in the
headerswith your actual bot token. - Update the
X-Super-Propertiesandchannel IDas needed. - Add your bot to the server with
SEND_MESSAGESandMANAGE_MESSAGESpermissions.
Requires Python 3 and the requests library:
pip install requestsTo run the script:
python autochat.pyTo stop it, press Ctrl + C.
Some of the random messages sent by the bot include:
- "Selamat Pagi Badut"
- "Halo Badut, semoga harimu menyenangkan!"
- "Badut, saatnya bersenang-senang!"
Feel free to customize the message list to suit your needs.
This script is provided for educational and personal use only. It is not recommended for spam or violating Discord’s terms of service. Use at your own risk.