kevinthedang / discord-ollama

Discord Bot that utilizes Ollama to interact with any Large Language Models to talk with users and allow them to host/create their own models.
Creative Commons Attribution 4.0 International
45 stars 5 forks source link

User Preferences Feature #10

Closed kevinthedang closed 3 months ago

kevinthedang commented 5 months ago

Idea

Possible Solution

example_options

kevinthedang commented 5 months ago

Update

JT2M0L3Y commented 5 months ago

image Concurrently running API and client with the npm run start command may result in the above issue with deleting and registering commands.

kevinthedang commented 4 months ago

Since we've added Docker to the project, start has been removed, but it can be readded back into the project for instances where people might not want to run Docker for some reason... or we just make people run the application in docker... who knows for now. Better friendly than not.

Issue above still persists even on development run. It seems like the commands are registered then deleted immediately, even if embed is registered after the deletion... odd. I will try to do some investigating when I can.

It seems like running it twice fixes the issue as it runs like this:

However, we don't want that. It should run in 1 seamless go.

kevinthedang commented 4 months ago

A fix for this has been implemented and will be in the next release for user preferences!