Skip to content

luigi052005/Ollama-Discord-bot

Repository files navigation

Ollama Discord Bot

A Discord Bot that utilizes the Ollama API.

Getting Started

  1. 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
    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.

Releases

No releases published

Packages

No packages published

Languages