This is a simple Node.js script that sends random messages to Discord channels at specified time intervals.
- Clone or download this repository to your local machine.
- Install the required dependencies by running the following command in your terminal: npm install
- Change config.json file using your data
Replace YOUR_DISCORD_TOKEN with your actual Discord bot token. Replace FILE_WHERE_MESSAGES_FILL with the path to the file containing the messages you want to send. Replace DISCORD_CHANNEL_ID with the ID of the Discord channel where you want to send the messages. Adjust timeSleepMin and timeSleepMax values to set the minimum and maximum time intervals (in seconds) between sending messages.
- In your terminal, navigate to the project directory.
- Run the script using command: node index.
- To stop the script, you can press Ctrl + C or close the terminal.