Skip to content

FlameF0X/COL-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

COL-project

The COL-project is an open-source Discord chatbot powered by Notebook/Python and microsoft/DialoGPT-large.

Setting Up the Bot

  1. Create a Discord Bot

    • Visit the Discord Developer Portal.
    • Select or create a new application.
    • In the SETTINGS section, go to Bot and enable the Message Content Intent option.
    • Retrieve your Discord bot token.
  2. Prepare Your Environment

  3. Set Up the Project

    • Create a new .ipynb file (e.g., name.ipynb) or use the provided file.
    • In the first code cell, add and run the following pip command:
      !pip install discord.py transformers nest_asyncio
    • Open the COL-Script.ipynb file and switch the view from preview to code. Alternatively, copy the script from COL-Script.ipynb and paste it into the next code cell in your .ipynb file, after the !pip install command.
  4. Configure the Bot

    • Replace the placeholder <YOUR_DISCORD_TOKEN> in the script with your Discord bot token.
  5. Run the Code

    • Run the first code cell to install the necessary dependencies. Once installation is complete, run the second cell to execute the main code.

Important Note

Google Colab will automatically shut down your code after approximately 1.5 hours of inactivity. For long-term availability, consider using Jupyter Notebook on a continuously running computer.

How to Use the Bot

In Discord, type !chat YOUR_QUESTION to interact with the bot.

Community

Join our Discord server to collaborate and support the project.

About

A Discord chatbot powered by AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published