/discordOllama

💬 Discord AI chatbot using Ollama with the new Ollama API

Primary LanguageJavaScript

Installation

Clone the repository

git clone https://github.com/LeonhardTissen/discordOllama

Configure the bot

Create a .env file in the root directory and add the following:

BOT_TOKEN=PutYourBotTokenHere
MODEL_NAME=llama2-uncensored
CHANNEL_ID=1105962928529748028

Make sure you have Ollama installed as well as the model you want to use. You can find the models here.

Install dependencies

npm i

Run the bot

npm start