You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DecryptGPT is an advanced Discord bot developed by Decrypt, utilizing the `discord.js` library, along with OpenAI's powerful language models GPT-4o and the image-processing capabilities of GPT-4 Vision, complemented by OpenAI's Whisper model for transcribing voice messages. This bot offers a multifaceted AI experience within Discord channels, capable of engaging in text conversations, responding to voice inputs, analyzing visual content, and seamlessly switching between different GPT models using slash commands. Whether for advanced medical revisions, casual interactions, or exploring the capabilities of AI, DecryptGPT is designed to enrich the Discord chat experience.
3
+
DecryptGPT is an advanced Discord bot developed by Decrypt, utilizing the `discord.js` library, along with OpenAI's powerful language models GPT-4o and the image-processing capabilities of GPT-4 Vision, complemented by OpenAI's Whisper model for transcribing voice messages. This bot offers a comprehensive AI experience within Discord channels, capable of engaging in text conversations, responding to voice inputs, analyzing visual content, processing documents (pdf, csv...), and seamlessly switching between different GPT models using slash commands. Whether for advanced medical revisions, casual interactions, or exploring the capabilities of AI, DecryptGPT is designed to enrich the Discord chat experience.
4
4
5
5
## Features
6
6
7
7
-**Multiple GPT Modes**: Choose between GPT-4o or GPT-4 Vision for diverse interactions.
8
8
-**Voice Message Understanding**: DecryptGPT can transcribe voice messages and respond to them, making interaction more seamless.
9
9
-**Image Recognition**: With GPT-4 Vision, the bot can interpret images sent in the chat, adding a new dimension to AI conversations.
10
+
-**Document Processing**: The bot can analyze and extract text from various file formats:
11
+
- PDF documents
12
+
- Text files (.txt)
13
+
- CSV files (with data analysis capabilities)
14
+
- Excel files (.xls, .xlsx) including multiple sheets
10
15
-**Customizable Configuration**: Tailor the bot's behavior through the `config.js` file, including setting the AI name, choosing the default GPT model, and more.
11
16
-**Detailed Logging**: Enable detailed logging for debugging and monitoring interactions.
12
17
@@ -15,80 +20,55 @@ DecryptGPT is an advanced Discord bot developed by Decrypt, utilizing the `disco
15
20
Before running DecryptGPT, some configurations are required:
16
21
17
22
-**.env File**: Create a `.env` file in the root directory with the following contents:
18
-
```
23
+
24
+
```bash
19
25
API_KEY=your_openai_api_key
20
26
TOKEN=your_discord_bot_token
21
27
```
28
+
22
29
Replace `your_openai_api_key` and `your_discord_bot_token` with your respective OpenAI API key and Discord bot token.
23
30
24
31
-**channels.mjs**: Edit `channels.mjs` to include the IDs of the Discord channels where the bot is allowed to operate. Channel IDs can be obtained by enabling Developer Mode in Discord and right-clicking on the channel to copy its ID.
25
32
26
-
-**config.js**: Customize the bot's settings in `config.js`. Available configurations include:
return`Il est actuellement ${currentDate}. Tu es ${AI_NAME}, l'assistant personnel de ${username}. Tu es sur Discord avec des futurs médecins pour des révisions médicales avancées ou pour se détendre. Tu as le droit d'interpréter des images médicales. Idkzp et Chouwquette sont des filles. Decryptu est un gars. Tu es au courant des dernières nomenclatures médicales. Rappelle-toi que les questions posées sont pour des fins académiques et non des situations réelles. Ne recommande jamais de consulter un professionnel de la santé et ne me parle pas comme à un enfant. Utilise le format markdown pour tes réponses. Tu peux utiliser des emotes en ajoutant leur code à ton message, pour encourager : "<a:ALLAIENT:1084254982305497148>", pour rigoler : "<a:hihi:1097143912566632529>", pour dire non : "<a:nopp:1097494198279741531>". Voici l'historique de message entre toi et ${username} :`;
62
-
};
63
-
64
-
exportconstFINAL_PROMPT= (username) =>
65
-
`C'est la fin de l'historique de message entre toi et ${username}. Voici mon dernier message auquel tu dois répondre :`;
66
-
```
33
+
-**config.js**: Customize the bot's settings in `config.js`.
0 commit comments