[go: up one dir, main page]

Skip to content

unsuman/ai-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Discord Chat Bot

Project Description

This is a small project that involves a Discord bot integrated with a locally running orca-mini -3B LLM using Ollama. The bot accepts responses via a built-in REST API.

Prerequisites

  • Go 1.21 or later
  • Git
  • Ollama

Installation

  1. Download Go 1.21: You can download it from the official Go website.

  2. Clone the project: Use the command git clone https://github.com/unsuman/discord-bot.git to clone the project.

  3. Download and set up Ollama: Follow the instructions on the Ollama website to download and set up Ollama.

Configuration

  1. Run the script: To run the script simply run chmod +x script.sh and then ./script.sh.

  2. Edit the config.json file: Open the config.json file in a text editor and replace the placeholder Discord token with your own Discord token.

  3. Invite the bot to your server: Use the Discord Developer Portal's OAuth2 URL generator to invite the bot to your server.

Running the Bot Locally

After you've completed the installation and configuration steps, you can run the bot locally using the command go run main.go.

About

Discord chat bot powered by orca-mini-3B llm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published