Skip to content

pro gamer move

Pre-release
Pre-release
Compare
Choose a tag to compare

“I'll probably end up abandoning this again for another month.”
- Me, 6 months ago

⚠️ DO NOT USE THIS RELEASE! (see https://github.com/AndyThePie/slabbot/releases/tag/v0.4.1-indev).

27 May 2021 / commit 065ef89

this version focused on some game stuff, i guess. it's been so long that i don't really even remember this... (>_<)

+ additions

  • get osu! user stats!
    • you can get a user's osu! stats with this command.
    • defaults to the user's default mode.
      • specific modes can also be specified (osu!taiko, osu!catch, osu!mania, or just osu!.)
    • w00t p00t :3
    • and just in case, no, i am not affiliated with the osu!team.
  • roll some dice!
    • because... why not?
  • fancier about command.
    • links now exist, the description's been changed, and there's also a version thing.
      • current uptime is also fancier.
  • slabbot has a website?
    • well, not really. it's just the README for now. watch this space, though...
  • decide command can now also be invoked with the alias choose.
  • shutdown command posts a message before it shuts down.

~ other changes

  • xp gain has been nerfed, and level thresholds are higher.
    • levels may have been lost as well, the exp/level calculation has also slightly changed.
    // const expNeededForLevel = level => 1024*(level**1.3)+(level/35)**4.5;
    const expNeededForLevel = level => 1024 * (level ** 1.3) + (256 *((level-1) / 8) ** 1.8);
    • exp per message is also lower.
      • 2.4exp at 6000ms, increasing to 9exp at 30000ms.
      • previously 5exp at 5000ms, increasing to 25exp at 60000ms.
      • see also: desmos graphs for the old exp/message graph and the new one.
  • a new things.functions.js for functions that do things that i'll probably use in multiple commands.
    • createExpBar has been moved here (from sl me command).
      • so has expNeededForLevel.
    • fNum formats numbers (adds commas and decimals).
    • sToDhms converts seconds to other units (used in sl about)
    • getLongMonth gets month name from a Date.
    • returnError standardizes error embeds, I guess.
      • not yet used everywhere else... yet.

i think...? that's all. it's been fun to write these and get back into code and all the sort. it's summer as well... oh boy...

next update will focus on refactors and code cleanups and documentation and all the sort. so... see you then! (^^)/