2
whimsical
24h

For people who like to know how to write a decent (devRant) AI (grok, but if your replace url, it would work on any provider like open router, chatgpt, etc) bot that'll work stable for months, see princess.py in the bottom of this page:

https://retoor.molodetz.nl/retoor/...

To use it, it has to be used in the root of the princess directory, but first the devranta library needs to be installed by executing `pip install -e .` in the repository root.

This one does not respond to mentions but will provide you how to do it if someone's interested. It's easy, it's all included in the devranta project.

In the other example directory you'll find a project that enables you to export whole devRant to a database. Fun dataset to work with.

I am thinking about making a wordle bot for devRant. Why not. If i do that, i'll add it to the example directory. It'll explain nicely how AsyncDataSet works, an async version written by me of the original dataset python library. It'll make a document database from your sqlite database. It automatically synchronizes your schema. Because of this, all my projects have a database since it's no effort. The database will have the structure of the dict that you insert/update/upsert etc.

Comments
  • 2
    Wordle sounds fun
  • 2
    @BordedDev yeah, let's hope it'll be as easy as the Snek bot went. That one is amazing. Maybe, i can vibe it by giving it the devRant api to replace the Snek api. Then i'm done. But i don't think so. Snek API is a stream, devRant is polling.
  • 2
    @whimsical I'm sure it's manageable
Add Comment