Skip to content

Releases: Stefouch/sebedius-yearzero-discord-bot

6.2.0

07 Sep 15:26
Compare
Choose a tag to compare

Added

  • Enable locales fr & de (still work in progress).
  • (Bot admin only) Add webhook for the logs.

6.1.0 - Add Panic + Fixes

06 Sep 10:46
861c214
Compare
Choose a tag to compare

Added

  • Slash Commands:
    • Admin: (/emit)
    • Roll: /panic – for ALIEN RPG
  • The /roll alien with a stress value command can now automatically trigger a panic roll.
  • The /roll coriolis command now has more push options (Pray the Icons!).
  • The /help command:<command> now returns more details with each subcommand and argument' description.
  • Add a section to how to use slash commands in the readme.
  • Add a gamedata parser method for future random generation commands.
  • Gamedata:
    • ALIEN RPG: Panic table for en-US & de locales.

Fixed

  • Add missing fullauto argument to the command /roll myz.

Changed

  • Locale: (minor) English translation now uses the code en-US instead of en. (Plain "en" was not supported by Discord.)

Removed

  • Due to its complexity, roll commands (/roll & /rolld66) in DM (private messages) have been temporarely disabled until Discord fixes their API. See #148 & #146.
  • Remove fullauto argument from the command /roll fbl.

6.0.1 - Hotfixes

03 Sep 22:55
7448870
Compare
Choose a tag to compare

Added

Changed

  • /rolld66 dice argument is no more required, and will roll a D66 by default.
  • Simplified Github templates for bug reports & feature requests.

Fixed

  • Ephemeral messages not pushable.
  • /rolld66 rendering blank dice with some games.
  • Errors with guild events.
  • Some other errors.

6.0.0 - Slash Commands (part I)

03 Sep 18:42
d52a809
Compare
Choose a tag to compare

Added

  • Slash /commands:
    • Admin: /conf, /thread, (/botinfo), (/eval)
    • Roll: /roll, /rolld66
    • Utils: /help, /ping
  • Support for Blade Runner RPG rolls (still missing the dice icons).
  • Support for generic rolls like 5d6!>6.
  • A privacy policy declaration.

Changed

  • (Breaking) Sebedius needed permissions have changed. You might need to kick and re-add the bot to have it work properly.
  • License is now GPL-3.0-or-later (was MIT)
  • Use of the Mersenne-Twister algorithm for the random numbers generations instead of the vanilla javascript Math.random method.
  • Better Contributing Guide.
  • (Breaking) New Database: MongoDB (was postgres)
  • Code revamp:
    • Clean code using modern javascript coding guidelines
    • Use of Eslint & Prettier
    • Commented everywhere
    • Templates for easy contribution
    • Typed methods for VS Code Intellisense support
    • Better translation module implementing i18next.
    • Use of DiscordJS library v14 for Discord API v10

Removed

  • (Breaking) Discord policy change: ALL prefixed !commands have been disabled:
    • All command files are archived in the ./archives folder for later conversion into slash commands.
  • (Breaking) Translations refactored:
    • Due to the use of a new translation module (i18next), the current german translation is disabled. The original files are stored in the ./archives folder for later re-use.

5.0.1 - Fix broken commands

31 May 09:24
c61bd66
Compare
Choose a tag to compare

Fixed

  • Issue with commands !monster and !attack not waiting for an input choice.
  • Issue with command !help -list not sending DM.
  • Issue with command !stats not working.
  • Other small fixes.

5.0.0 - DiscordJS V13, Discord API V9, PG V8

30 May 18:36
08bbbf0
Compare
Choose a tag to compare

Changed

  • Use of latest DiscordJS V13 (compatible with Discord API V9).
  • Update to the latest NPM packages.

Fixed