Skip to content

lmigaming/Discord-CharacterAI-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Discord.py Bot with Character.ai Integration using Playwright

This Discord.py bot connects to Character.ai through Playwright, allowing automation of interactions.

Prerequisites

  • Python 3.x
  • Discord.py (v1.7.3 or higher)
  • Playwright (v1.18.1 or higher)

Installation

  • Clone the repository to your local machine.
  • Copy code
  • pip install requirements.txt
  • playwright install
  • Configure the bot by updating the bot.py file with your Discord bot token.
  • Run the bot using python bot.py to start the Discord.py bot with Playwright integration.

Usage

  • Invite your bot to your Discord server.
  • Use the !chat command followed by a valid character_id to start a conversation with Character.ai.
  • The bot will prompt you to enter your first message to start the conversation.
  • The bot will automatically send messages to Character.ai using Playwright and retrieve the responses.
  • Use the !stop command to end the interaction. Please note that this is a basic usage guide, and you may need to customize the bot further according to your specific requirements.

Contributing

If you would like to contribute to this project, feel free to submit pull requests or open issues for bug reports, feature requests, or improvements.

License

This project is licensed under the MIT License, which allows for free usage, modification, and distribution of the code. However, it's always good practice to provide proper attribution when using or referencing this project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%