Should we reset DecBot's scores when DecBot4 goes live
Yes
 10%  [ 2 ]
No
 30%  [ 6 ]
Just reset C's score
 60%  [ 12 ]
Total Votes : 20

IRC is bad. To that end, I wanted to move DecBot off of IRC. We have a Matterbridge already for bridging between mediums, so it was decided DecBot4 would speak through that.

The implementation is almost done. In the past, we have reset DecBot's scores a couple of times. I believe we did it once early on to give a "clean slate" once people were familiar with the functionality, and once when the total score hit 10,000 as a milestone reset. The question I leave open to discussion and non-binding poll is:

Should we reset DecBot's scores when DecBot4 goes live (likely some time this weekend)?
I vote no, because in the inevitable quieting of the community as fewer people write calculator programs, I believe we've accumulated relatively less karma than before previous resets.
We should definitely scrape the discord logs and restore karma from this prolonged netsplit.
That's not a bad idea. If someone collects the totals, it'll be easy to get them added.
The initial commit to the DecBot4 repo has been made with the functionality ported. There's more work to do in getting the docker image set up and getting it running, but that's progress.

Repo: https://gitlab.com/cemetech/decbot4
The link syntax has been expanded, and name queries can now include spaces. For giving karma, you still need to use a non-space containing name. E.g., we can link "womp" to "mr womp womp" such that you can do "!karma mr womp womp" to get his karma, but "womp++" to add karma (works well for "mr womp womp++", still some weirdness in other cases that makes it a bit idiomatic)



Acceptable syntaxes for link:

Code:
!link <link> <main name>
!link <link> => <main name>
!link <link> -> <main name>
!link <main name> <= <name>
!link <main name> <- <name>


If the names have no spaces, the first can be used. Otherwise, use one of the alternatives.

Additionally, there's a command:

Code:
!addprivs <user id> <protocol>


Which will grant a userid/protocol combination the priviliges to add links etc.
We've made some further progress in the deployment. Tari's been working hard on pipelines and I've been working not so hard on tests. We have three tests now, for some sanity that things are working as expected:
Wow, look at you actually adding unit tests! Keep up the excellent work.
Strictly, they're integration tests Razz But, yeah, nice to have something in there to make sure any future changes don't break anything. Also, in the process of writing the tests we hardened the code, so something to be said for tests, for sure!
In service of getting more bots off IRC, we have started to port DoorsCS call/response functionality to DecBot4:


All existing DecBot commands will be made to function with both ~ and !, and the calls for DoorsCS responses will work with both ~ and !.
Tari took the effort to write up a readme file for DecBot, and I went in and documented all the commands and alternatives for the commands. Check out the readme on gitlab:
https://gitlab.com/cemetech/decbot4/-/blob/main/README.md?ref_type=heads

I would like to add a detailed description of all the sql tables at some point.
I've added the ability to pull messages off the MatterBridge buffer on startup. This helps pickup any ++'s that happen during downtime. This will NOT account for ++s missed over the past month (as we currently only have a buffer of 1 message configured), and is only meant for going forward AFTER initial deployment (assuming buffer gets reconfigured).

This is the last piece of major functionality for the bot. Everything else left are "nice to haves" that will come at some point. For POTM purposes, this can be considered a "completed" project.
DecBot4 is now live.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement