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
requests
library.
- Picks a random message from the
messages
list. - 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
headers
with your actual bot token. - Update the
X-Super-Properties
andchannel ID
as needed. - Add your bot to the server with
SEND_MESSAGES
andMANAGE_MESSAGES
permissions.
Requires Python 3 and the requests
library:
pip install requests
To run the script:
python autochat.py
To 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.