This repository contains the code for a Discord intelligent automaton.
This repository contains the "intelligent-discord-bot," a Discord program. This program was created with the intention of providing a simple method for adding artificial intelligence to the user's Discord server. The program uses the TensorFlow library to train an artificial intelligence machine learning model using data from its Discord server. He can be trained to recognize patterns in messages, such as whether a message is a question or a response. Additionally, the program can be set up to automatically reply to Discord server messages. The responses are generated using the [markovify] library (https://github.com/jsvine/markovify).
You must install the necessary dependencies and clone this repository in order to start using the program. Additionally, you will need to create a file called config.json in the root of the repository with the following settings:
{
"discord_token": "SEU_TOKEN_DO_DISCORD",
"owner_id": "SEU_ID_DO_DISCORD",
"prefix": "!"
}
You can obtain your Discord code by visiting this page (https://discordapp.com/developers/applications/me).
To start the program, run the following command:
python3 main.py
The program has the following commands:
-!train: Begin the machine learning model's training procedure. !predict: Make a prediction about the specified message. -!respond: Enable or disable the bot's automatic response. -!help: Displays a collection of commands.
- clone the repo
git clone https://github.com/CarllosHenrique/Intelligent-discord-bot.git
- install dependencies
python3 main.py
- fork the project
- create your feature branch
git checkout -b feature/AmazingFeature
- commit your changes
git commit -m 'Add some AmazingFeature'
- push to the branch
git push origin feature/AmazingFeature
- open a pull request