This is a simple Discord bot that reads messages from a specified channel and generates a summary of those messages for a selected date and time range.
- Summarizes messages in a Discord channel based on user-defined date and time range.
- Easy to set up and use with minimal configuration.
Before you begin, ensure you have the following:
- Python 3.6 or higher installed on your machine.
- A Discord account and a server where you can add your bot.
- The
discord.py
library installed.
-
Clone the repository (if applicable):
git clone https://github.com/SarcasticGaymerNerd/Summary-Bot.git cd discord-chat-summarization-bot
-
Install the required library:
pip install discord.py
-
Set up your Discord bot:
- Go to the Discord Developer Portal.
- Create a new application and add a bot to it.
- Copy the bot token for later use.
- Ensure your bot has the necessary permissions to read messages in the channel.
-
Edit the script:
- Open the script file and replace
'YOUR_BOT_TOKEN'
with your actual Discord bot token.
- Open the script file and replace
-
Run the bot:
python your_script_name.py
-
Use the summarize command: In your Discord channel, type the following command to summarize messages:
!summarize YYYY-MM-DD HH:MM YYYY-MM-DD HH:MM
Replace the date and time with your desired range. For example:
!summarize 2023-10-01 12:00 2023-10-01 14:00
If you want to summarize messages sent between 12:00 and 14:00 on October 1, 2023, you would type: