Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.26 KB

README.md

File metadata and controls

52 lines (31 loc) · 1.26 KB

Ollama Discord Bot

A Discord Bot that utilizes the Ollama API.

Getting Started

  1. Make sure you have Ollama installed on your machine: https://ollama.com/download

  2. Clone the Repository: Begin by cloning this repository to your local machine.

git clone https://github.com/luigi052005/Ollama-Discord-bot
  1. Navigate to the Directory: Move into the directory containing the cloned repository.
cd Ollama-Discord-Bot
  1. Install Dependencies: To install the necessary dependencies, execute the following command in your terminal:
pip install -r requirements.txt
  1. Configuration:

    • Rename config to config.py
    • Open config.py and enter your Discord bot token.
    # config.py.py
    DISCORD_TOKEN = "Your_Discord_Token"
    • Make sure your bot has the following permissions:

    image

  2. Run the Bot: Start the bot by executing the following command:

python discord_bot.py

Now your Ollama Discord Bot should be up and running, ready to enhance your Discord server experience! Remember to mention the bot directly when you want to engage in conversation.