Summify is a Discord bot that DMs you a summary of unread messages in the current channel using GPT-4.
- π Summarizes unread messages in the current channel.
- π€ Uses GPT-4 for generating summaries.
- πΎ Option to save messages to a file.
- π Integrates with Prisma for database operations.
- Node.js
- A Discord account and bot token.
- An OpenAI account and API key.
- Clone the repository and install packages:
git clone https://github.com/yourusername/summify-discord.git cd summify-discord yarn - Create a .env file in the root directory and populate it with your credentials:
DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN OPENAI_API_KEY=YOUR_OPENAI_API_KEY DISCORD_CLIENT_ID=YOUR_DISCORD_CLIENT_ID SAVE_MESSAGES=true_or_false - Run the Bot:
npm start- Invite the Bot to Your Server: Use the Discord developer portal to generate an invite link.
- Use the Command: In any channel, type
/summifyto get a summary of the last 100 messages.
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
This project is licensed under the MIT License. See the LICENSE file in the project root for more details.