8000 GitHub - gnukeith/DiscordChatAI: Ollama and a local model to chat with Discord users.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ollama and a local model to chat with Discord users.

License

Notifications You must be signed in to change notification settings

gnukeith/DiscordChatAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot Setup Guide with Ollama

A simple Discord bot powered by local Ollama models for chat interactions.

Prerequisites

Setup Steps

  1. Install Ollama and pull the model:

    ollama pull hermes3
  2. Create Discord Bot:

    • Go to Discord Developer Portal
    • Click "New Application" and name it
    • Go to "Bot" tab, click "Add Bot"
    • Copy your bot token
  3. Set up the bot:

    git clone https://github.com/gnukeith/DiscordChatAI.git
    cd DiscordChatAI
  4. Create a .env file:

    DISCORD_TOKEN=your_bot_token_here
  5. Install Python dependencies:

    pip install -r requirements.txt

Running the Bot

  1. Start the bot:

    python bot.py
  2. Test by mentioning the bot in Discord: @YourBotName hello

Notes

  • Bot responds to mentions only
  • Conversations are logged in conversations.log

About

Ollama and a local model to chat with Discord users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0