Skip to content

zyphixor/simple-discord-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-discord-ai

A self-hostable chatbot for Discord that utilizes ollama.

Installation

  1. Install Ollama
  2. pip install discord.py ollama requests
  3. Open config.toml and enter your model and bot token
  4. Run run.py
  • Note: if you want the bot to work without it being pinged/mentioned, use runNoMention.py
  • Note 2: if you dont want memories and just something simple, use runStable.py

Usage

To use the bot, ping it via its username (e.g. @bot) or reply to it.

Support

Discord coming soon

Any contributions to this would be greatly appreciated.

TODO

  • Clean code up
  • Squash some bugs
  • add history "cleaning" (cleans past lines to save on storage, ram, and vram)

About

A self-hostable chatbot for Discord that utilizes ollama.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages