TheDiscordian / onebot

One bot to rule them all...
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

When possible, only update AI DB on new data #35

Open TheDiscordian opened 1 year ago

TheDiscordian commented 1 year ago

Currently, when the qa plugin loads, it will rebuild the whole DB, including embeds. This can be costly and time consuming. Instead, it should do as much as possible to:

  1. Find what needs to be (re)downloaded
  2. Only generate embeds for new data, removing old data if necessary

Point 2 is the most important.

tippi-fifestarr commented 1 year ago

And can we by default make it "expert" on itself?

TheDiscordian commented 1 year ago

@tippi-fifestarr Dietrich has also mentioned such a feature. I think this is a good idea, but should exist in another issue.

TheDiscordian commented 1 year ago

Point 2 is implemented using the new mission control plugin, it's now trivial to remove old information. Point 1 still needs some techniques.