Skip to content

Releases: jballanger/spip

1.0.0

15 Sep 16:54
Compare
Choose a tag to compare

Core

Datastore

  • Add a Base data class
  • Remove methods get and save from UserData and GuildData
  • Update Guild model settings field with a default value

Feature

  • New core file

Stats

  • Stats has been reworked
  • Add a random number of points (based on the current level) on level up
  • Send a message when a user level up

HinataFeed

  • Removed

Feed

  • New feature to replace HinataFeed

Commands

  • Removing addPoints, reset, setLevel and setPoints.
  • Update profile and fetch with the new Stats core.
  • Add enable, used to enable features
  • Add disable, used to disable features
  • Add features, used to list available features and their usage

Utils

  • ucfirst has been added to Utils
  • Enhance parser

Misc

  • More Discord.js events are logged

Fix

  • The multiple instance bug is now fixed (18c95e9)

Dependencies

0.2.1

14 May 20:05
Compare
Choose a tag to compare

Core

Educator

  • Fixed a bug where spip was blocked if there was no wlist.txt.

Stats

  • Removed ladder update console.log.

Music

  • Rewrite of the checkQueue function.
  • Fixed a bug where spip wasn't able to leave the voice channel if the song played was not found on youtube and there were no valid song before.

Dependencies

0.2.0

06 May 08:51
Compare
Choose a tag to compare

Core

User

  • The username field has been removed (was not needed).

Stats

  • Set default rank to 1000 instead of 9999999.

Educator

  • Educator's code has been updated.

Utils

  • loadImageUrl now load a single url.
  • New loadImage method, same as loadImageUrl but with a path instead of the url.
  • randomNumber has been fixed, it could return less than the min parameter.

Commands

choose

  • The choose command now reply with a message if no choices are provided.
  • If the choices provided contains spaces, they are not removed.

help

  • If no command is provided, give help for the help command.
  • If the command doesn't exist, reply with a better message.

profile

  • Profile's code has been updated (cleaner).
  • Defaults images (backgrounds & badges) have been added locally.

guignols (New)

This command allows to list Guignols of the current guild.

Misc.

  • config.json is now located at the root of the project.

Dependencies

0.1.1

06 May 08:56
Compare
Choose a tag to compare

Hotfix

Fix methods related to getUserStats

  • Using getUserStats on a non-created User was resulting in an error.