Initial commit.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Fjerkroa bot
|
||||
|
||||
A simple Discord bot that uses OpenAI's GPT to chat with users.
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install the package using pip:
|
||||
```
|
||||
pip install fjerkroa-bot
|
||||
```
|
||||
|
||||
2. Create a `bot.py` file with the following content, replacing the tokens with your own:
|
||||
```python
|
||||
from discord_gpt_bot import main
|
||||
|
||||
main.DISCORD_BOT_TOKEN = "your_discord_bot_token"
|
||||
main.OPENAI_API_KEY = "your_openai_api_key"
|
||||
|
||||
main.run_bot()
|
||||
```
|
||||
|
||||
3. Run the bot:
|
||||
```
|
||||
python bot.py
|
||||
```
|
||||
Reference in New Issue
Block a user