Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 958 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 958 Bytes

Rust Discord Bot

A Discord bot made in Rust with IA functionalities.

How Install

Simple way to install and run this project on your computer.

Install LLAMA3.2 by docker

I Recomend to use a computer with GPU, if you don't have it, remove the --gpus=all from the first command

docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
docker exec -it ollama ollama run llama3.2

Install Redis by docker

docker run --name redis -p 6379:6379 -d redis 

More informatation on: https://hub.docker.com/r/ollama/ollama

Project clone

git clone https://github.com/eidiinnn/rust-discord-bot
cd rust-discord-bot

.env file Setup

GUILD_ID=The Discord server guild
TOKEN=Your Discord token

Start the project

cargo run

Bot usage

Go to any chat on GUILD_ID Discord server you put, and use / in the chat to see the available commands.