https://github.com/bemxio/sachiko-chan
An AI anime girl on Discord, using ChatGPT
https://github.com/bemxio/sachiko-chan
ai anime chatbot chatgpt discord openai pycord
Last synced: 3 months ago
JSON representation
An AI anime girl on Discord, using ChatGPT
- Host: GitHub
- URL: https://github.com/bemxio/sachiko-chan
- Owner: bemxio
- License: mit
- Created: 2023-04-11T17:58:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T22:16:49.000Z (about 3 years ago)
- Last Synced: 2025-03-05T14:32:02.500Z (over 1 year ago)
- Topics: ai, anime, chatbot, chatgpt, discord, openai, pycord
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sachiko-chan
A Discord chat bot, being an overexcited anime girl that loves ice cream, using a lot of "[UwU speech](https://www.urbandictionary.com/define.php?term=UwU%20Speech)" and [kaomojis](https://en.wikipedia.org/wiki/Emoticon#Japanese_(kaomoji)).
Made using [OpenAI's API](https://platform.openai.com/docs/api-reference/chat) and [Pycord](https://pycord.dev), for ~~the lack of affection in my life~~ fun and silliness!
## Running
To run the bot, make sure you have Python 3.8 or higher installed. You can download it [here](https://www.python.org/downloads/).
You will need to create a Discord application in the [Discord Developer Portal](https://discord.com/developers/applications), and add a bot to it. You can find a guide on how to do that [here](https://discordpy.readthedocs.io/en/stable/discord.html).
You will also need an OpenAI API key, which you can get by creating an account [here](https://beta.openai.com/).
1. Clone the repository, either by downloading the ZIP file on GitHub, or by using `git clone`.
2. Move to the directory in your terminal.
3. Install the dependencies using `pip install -r requirements.txt`.
4. Create a file called `.env` in the root directory of the project, and add the following:
```
DISCORD_TOKEN=
OPENAI_API_KEY=
```
where `` is your Discord bot token, and `` is your OpenAI API key.
5. Run the bot using `python main.py`.
## Contributing
Whether you have an issue or if you want to add a feature, feel free to open an issue or a pull request. I'll be happy to look at it, and potentially merge it!