Skip to content

💬 Discord AI chatbot using Ollama with the new Ollama API

Notifications You must be signed in to change notification settings

LeonhardTissen/discordOllama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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