top of page
Search

Robirb Bot V2.3

  • Writer: chris22426
    chris22426
  • Aug 22
  • 2 min read

Updated: Aug 23

This update features a lot of backend changes, some new commands, and many changes to old commands.



New Commands

  • /minecraft

Allows you to see the status of our Minecraft server (smp.robirb.net btw ;)


  • /bingo

    Bingo!


  • /pet feed

    Not necessarily new, but now actually functional! Pet food and drink added to the shop for use with this command.


  • /pet play

    Again, not new, but functional. 26 new play items added to the shop, as well as some old items retrofitted to work!

    Each different type of animal has their own preference of what items they like (I.E. stick for a dog, laser pointer for a cat, etc)


  • User Balance

    Right click on a user, within the apps menu. You can now check their balance easier.


Old Command Changes

  • /work

    Completely overhauled to have actual "work" options available now, such as phrase entering!


  • /shop

    Also completely overhauled. Rather than arbitrary "item numbers" you now simply search with the item name!


  • /merchant

    Once again, completely overhauled. It also now uses the item names, but now has an additional "stock" mechanic.

    Every time the merchant spawns, his stock of items increases dependant on how many he has, and he can only sell that set amount globally. Selling items to him also replenishes his stock.

    If you're a curious nerd like me, this is the function for increasing his stock!const addition = Math.round(common.randInt(35,350) - Number(inv[key]*(Math.max(0.1, Math.min(1, (common.randGauss(0.4,0.45)))))));


  • /pet info

    The pet descriptions have finally been filled in. The dragon is no longer a fast asleep white dog. Also, hamster is now spelled correctly, as that is somethnig I can apparentaly mess up. Deer can also now be purchaced.


  • /pet stats

    New pet references. Because of course there is!


  • /setmessage

    Apparently this was broken. I do not know for how long. It works now.


Backend Changes

  • Finally updated NodeJS and all of the modules. This was very overdue.

  • Consolodated the discrete merchant and pet scripts into one central script, along with the raffle and tax. They were still running on the backend of the old bot. Also very overdue.

  • Put the win profit calculation for a lot of the gambling commands into it's own global function, updating it with some math I no longer understand.

  • Updated all command autocompletion, as I initially did it very wrong.

  • Updated most of the global functions, as they were async when they didn't need to be, for some stupid reason.


 
 
 

Recent Posts

See All
Robirb Bot V2.3.1 Hotfix

Some simple backend changes regarding module updates, as well as making unmute work. I do not know how long that was broken for, I do...

 
 
 

Comments


bottom of page