Skip to content

Releases: shikhir-arora/karma-simple

v4.0.0 (Selfhosting)

24 Aug 10:17
Compare
Choose a tag to compare
  • Reflected to update for self-hosting only
  • Updated to work with discord.js v14 (breaking changes)

v3.0.0

08 Nov 05:32
09a1593
Compare
Choose a tag to compare

v3.0 - compare changes (to: v3.0.0) from last published version on npm: 2.0.1

  • Lots of cleanup/internal stuff since Sept 28, 2018; main change is switch to Enmap latest (we were using Enmap 3.x before, which supported providers like MongoDB, Postgres, etc. where Enmap 4-5+ come bundled with sqlite)

  • Cleanups to code to make logging clearer (bgWhite was a terrible choice!), small fixes for d.js 12.0.0-dev

  • Finally updated the documentation, at least to the extent that it makes sense for the current version (3.x - 3.0.0 currently)

  • Updated (with comments where need-be) the installer scripts for Linux/macOS and Windows (yuck!)

  • chore: package-ups with yarn/npm lockfiles in-sync

*Will publish to npm shortly. Done

🙃

v2.0.1

21 Sep 16:36
bb833c3
Compare
Choose a tag to compare

v2.0.1

We've reached 1,000+ (!) servers for this tiny and simplistically designed bot! Thanks to all who have added it to their servers and self-host it! 🎉

As usual: please use the autoinstaller on macOS / Linux or Windows to install the initial modules and files -- alternatively one may just follow the Git instructions on the GitBooks/README :-) Do not update using the installer scripts. Just git pull for updating.

You'll need to setup a database (such as what we use - MongoDB - or any Enmap v3 supported persistence provider like Postgres, SQLite, LevelDB) to use here...more on that soon (AKA when someone bothers me about it xD) 😆


The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems. Windows installation is also pretty seamless with the installer.bat script.

Documentation: https://karmabot.vlexar.pw


CHANGELOG:

2.0.0...master [all commits since v2.0.0]


Changes:

Click for a screenshot 👌
• Added color and nested color to many of the console log events using the fast ansi-colors lib, as well as fully formatted timestamps.
Live Screenshot from KarmaBot screenshot 2018-09-21 17 56 31
  • Added check which responds with a “how-to” of sorts if you just ping the bot without anything (@KarmaBot).
  • Added channels (total across bot) and - for no particular reason, the WS trace endpoint the bot is connected to on Discord’s gateway to the @KarmaBot stats command.
  • Removed Listcord from the bot listing sites as it's dead. RIP or something 🤷‍♂️
  • Fixed (this was already on the public bot) so users can lookup Karma even if they’re assigned the “NoKarma” role; updated @KarmaBot help with this. Note: a user obviously cannot add/subtract Karma still with the “NoKarma” role.
  • Changed (minor) scripts for Travis; use ESLint & Standard (redundant because ¯_(ツ)_/¯
  • Commit: shrinkwrap.yaml lockfile (pnpm is used here, highly recommend).
  • Removed unused deps and updated packages
  • Require Node v10+ because modernity - update error check accordingly
  • Locked Enmap to 3.x.x as 4.x.x does not support providers anymore — we currently use MongoDB but any others (Postgres, SQLite, LevelDB) would work with a few line changes (See: https://enmap.evie.codes/blog-posts/reason for 4.x.x only supporting SQLIte)
  • Minor cleanups/notated ESLint flags for clarity
  • Refactor some parts of the code (minor)
  • Switch to using axios and a non-blocking, ES8 async post to all the Discord Bot lists (public bot)
  • Cleanups

(direct invite link): https://bot.discord.io/karmabot


TODO (still):

  • Update README for MongoDB and database-config instructions (Some basics are pointed out) - someone bother me about it please!

v2.0.0

05 Jul 10:17
60f2980
Compare
Choose a tag to compare

v2.0.0

We've reached 700 (!) servers for this tiny and simplistically designed bot! Thanks to all who have added it to their servers and self-host it! 🎉

This release switches the core from using node-localstorage to using Enhanced Maps (Enmap) with MongoDB as a persistent database provider (any Enmap provider - PostgresSQL, LevelDB, SQLite, and RethinkDB) will work here, the code change is very minimal). Major updates to code syntax, clean up, and updates the dependencies. We also made some minor tweaks to how we publish on public API's for listing sites. This release is on npm as v2.0.0. We recommend you do update your bot to this despite the the changes, because it does contain several library improvements.

As usual: please use the autoinstaller on macOS / Linux or Windows to install the initial modules and files -- alternatively one may just follow the GIt instructions on the GitBooks/README :-) **Do not update using the installer scripts. Just git pull for updating.

You'll need to setup a database (such as MongoDB) to use here, more on that soon.


The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems. Windows installation is also seamless with the installer.bat script.

Documentation: https://karmabot.vlexar.pw


CHANGELOG:

v1.0.6-pre...master [all commits since v1.0.6-pre]

  • Change to Enmap with MongoDB as provider
  • Refactor code a decent bit
  • Cleanup

(direct invite link): https://bot.discord.io/karmabot


TODO:

  • Update README for MongoDB and database-config instructions (Some basics are pointed out)

v1.0.6-pre

19 Nov 05:56
Compare
Choose a tag to compare
v1.0.6-pre Pre-release
Pre-release

v1.0.6-pre [prerelease]

We've reached 100 servers for this tiny and simplistically designed bot! Thanks to all who have added it to their servers and self-host it! 🎉

Please note that this is a pre-release for v1.0.6 proper which will include promised features (namely the way of Karma accumulation, which we've got a nice plan for that will keep the bot as simple as it is right now yet unique from the standard ways of gaining points)

This release mainly updates code syntax, clean up, and updates the dependencies. We also made some minor tweaks to how we publish on public API's for listing sites. This pre-release won't be published on npm just yet but it should be updated (git pull) or installed from scratch safely. We recommend you do update your bot to this despite the pre-release label, because it does contain several library improvements.

As usual: please use the autoinstaller on macOS / Linux or Windows to install the initial modules and files -- alternatively one may just follow the GIt instructions on the GitBooks/README :-) Do not update using the installer scripts. Just git pull for updating. If you do use the script, ensure you back up your karmafiles folder!


The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems. Windows installation is also seamless with the installer.bat script.

Documentation: https://shikhirarora.gitbooks.io/karma-simple/content/


CHANGELOG:

  • As this is a pre-release, I will link to the commits made since v1.0.5, which are mostly internal but do have some important fixes!

  • v1.0.5...master [all commits since v1.0.5]

  • 30a77ea [update to Discord.js v12.0-dev, change setGame -> setActivity]

  • 04cae17 [update libraries]

  • 6a023f0 [tiny fix because of eslint 😆 ]

  • 4b37cef [biggest enhancements to this pre-release, just read the commit for the summary]

  • 0d442a9 [added widgets courtesy of DiscordBots.org and a nice status icon]

(direct invite link): https://bot.discord.io/karmabot


Coming in v1.0.6:

  • The Karma accumulation thing I mentioned at the bottom of v1.0.5's notes, and at the top of this release. This will be the v1.0.6 release (hence this pre-release which I wanted to get out due to the library changes)

v1.0.5

26 Aug 20:59
Compare
Choose a tag to compare

v1.0.5. Please use the autoinstaller on macOS and Linux and Windows to install the initial modules and files -- alternatively one may just follow the GIt instructions on the GitBooks/README :-)

The package is in the npm directory: https://www.npmjs.com/package/karma-simple

The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems. Windows installation is also seamless with the installer.bat script.

Documentation: https://shikhirarora.gitbooks.io/karma-simple/content/


CHANGELOG:

  • (Optional) Blacklist feature which is seamless by default, whitelist
    mod option (see README)
  • Better handling for self-hosters
  • Stats command added and help-menu updated; stats command shows
    real-time info about the bot/server
  • ES8 rewrite of code
  • As usual, cleanups with code! :)
  • Node v8+ is now required; updated Travis build
  • Removed parameters from config.json which are not used anymore
  • Package updates (using discord.js v12-dev), small changes
    (MessageEmbed) related to the library changes
  • Updated documentation
  • Want to try it out? Invite information here!

(direct invite link): https://bot.discord.io/karmabot


Coming in v1.0.6:

  • Karma accumulation (like a point/XP system, but still working out the details. It will be different than the standard 'type ___ once a day' or just based on typing) -- still working on this. I apologize for the delay, but I have a cool plan for this - not just a basic "type and gain" thing. 👍

v1.0.4

04 Aug 21:51
Compare
Choose a tag to compare

v1.0.4. Please use the autoinstaller on macOS and Linux and now Windows users can download the installer.bat file to similarly install the initial modules and files -- alternatively one may just follow the GIt instructions on the GitBooks/README :-)

We're public! - Click here for invite information 🎉

The package is in the npm directory: https://www.npmjs.com/package/karma-simple

The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems. Windows installation is also seamless with the installer.bat script.

Documentation: https://shikhirarora.gitbooks.io/karma-simple/content/


CHANGELOG:

  • Cleanup (a fair amount!)
  • Help menu added (@KarmaBot help) for basic usage, support, and invite URL in Discord.
  • Windows installer added (Just download installer.bat for initial setup!)
  • .eslintrc.json added, StandardJS/ES8 coding style and Syntax, stronger npm test before building, update package.json and .travis.yml with the necessary requirements.
  • README updates/cleanup
  • Package updates, minor bugfixes.
  • Want to try it out? Invite information here!

Coming in v1.0.5:

  • Karma accumulation (like a point/XP system, but still working out the details. It will be different than the standard 'type ___ once a day' or just based on typing) -- still working on this.

  • Allow only certain users (probably role-based) to award karma (suggestion from user of the bot 👍 )

v1.0.3

27 Jul 02:38
Compare
Choose a tag to compare

v1.0.3. Please use the autoinstaller on macOS and Linux (will work on Windows too with Putty, etc.) -- or just follow the GIt instructions on the GitBooks/README :-)

We're public! - Click here for invite information 🎉

The package is in the npm directory: https://www.npmjs.com/package/karma-simple

The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems. Windows installation is seamless.

Documentation: https://shikhirarora.gitbooks.io/karma-simple/content/


CHANGELOG:

  • Mostly (a lot) of cleanup.
  • Exec command added for botowners/selfhosters. Allows console access.
  • API 'guildCreate' and 'guildDelete' as well as on ready publishing as the bot is public.
  • Want to try it out? Invite information here!
  • README updates/cleanup
  • Gist uploads for >2000 character eval/exec command outputs, token
    sanitization for protection with evals.
  • Package updates, minor bugfixes.

Coming in v1.0.4:

  • Help menu inside the bot. It's really simple, sorry for the delay on that. The prefix >k without anything will have a little help menu for how to lookup and give or reduce Karma, and how to get to this page - as well as support links directly and the invite URL. Just a normal help menu.
  • Windows-ready install script/full dependency installer on the script - sorry, been busy - but the Bot is super easy to install regardless of OS.
  • Karma accumulation (like a point/XP system, but still working out the details. It will be different than the standard 'type ___ once a day' or just based on typing) -- now that it is public, will get this for v1.0.4

v1.0.2

03 Jul 15:26
Compare
Choose a tag to compare

v1.0.2. Please use the autoinstaller on macOS and Linux.

The package is in the npm directory: https://www.npmjs.com/package/karma-simple

The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems.

Documentation: https://shikhirarora.gitbooks.io/karma-simple/content/


CHANGELOG:

  • Added eval command for botowner
  • adminprefix and ownerID parameters in config.json to configure the Eval command access
  • Updated documentation
  • Minor cleanups (buildfile, etc.)

Coming in v1.0.3:

  • Windows-ready install script/full dependency installer on the script to make it 100% seamless
  • Improved output
  • Karma accumulation (like a point/XP system, but still working out the details. It will be different than the standard 'type ___ once a day' or just based on typing)

v1.0.1

18 Jun 23:06
Compare
Choose a tag to compare

v1.0.1. Please use the autoinstaller on macOS and Linux.

The package is in the npm directory: https://www.npmjs.com/package/karma-simple

The README contains all the relevant information. There is a quick script that will install all the dependencies on macOS/Linux systems.

Documentation: https://shikhirarora.gitbooks.io/karma-simple/content/


Features:

  • Stable, lightweight cross-guild karma tracking on Discord
  • Quick auto-install script (Linux/macOS) and easy updates (git pull)
  • Random color embed outputs
  • Internal ratelimiter to avoid spam
  • Lookup, add, or remove karma capabilities
  • Customizable bot 'playing' status