Skip to content

Releases: markokajzer/discord-soundbot

3.0.0

26 Mar 12:42
Compare
Choose a tag to compare

3.0.0 (2023-03-26)

Breaking changes

  • Remove deafen config option
    • This is the default behaviour for bots now, see here
  • Remove volume config option
    • This option impacts performance because the stream always has to be processed by ffmpeg, even if the volume was not changed, see here

Features

  • Add !lang command
    • Get information about the available languages
    • Change the language (equivalent to !set language en)

Bugfixes

  • Fix issue with ytdl not finding the correct format

Under the hood

  • Update to Discord.js v14
  • Handle more errors to give useful feedback
  • Refactored a whole bunch of code

2.1.0

21 Nov 17:13
Compare
Choose a tag to compare

A bunch of new features, cool additions, various bug fixes and updates

Features

  • Add !modify command
    • Enables adjusting the volume of a sound with !modify <sound> volume <value>
    • Enables clipping sounds with !modify <sound> clip <start> <end>
  • Add possibility to set custom timeout when using stayInChannel
  • Add possibility to specify elavatedRoles to customize group of people that can manage sounds (#85, Thank you @ibito!)
  • BREAKING CHANGE: Simplify !add from YouTube by actually making the last parameter the end time instead of the duration
  • Better handle missing permissions for restricted commands
  • Create one click Docker setup

Bugfixes

  • Fix !avatar not sending the correct URL
  • Better resilience against errors when joining voice channel
  • Properly handle missing permissions when joining voice channel

Under the hood

  • Update discord.js to v12.4.1
  • Update dependencies

v2.0.0

08 Mar 16:12
Compare
Choose a tag to compare

After a very very long wait v12 of discord.js was finally released. With it come fixes for some long standing issues.

Firstly, songs are not cut off short anymore.
Second, very short sounds are played correctly.

The new version also allowed an upgrade from Node.js version 8 to 12.6.0!
Since this is quite the upgrade, this is a breaking change.

Hallelujah!

Breaking Changes

  • The bot now needs at least Node.js v12.
  • Upgrade to Discord.js v12

Features

  • Set config variables from environment

Bugfixes

  • Fix !ignore command

Under the hood

  • Update dependencies
  • Enable incremental builds
  • Remove awilix dependency
  • Added basic CI via GitHub Actions
  • Added VSCode settings and recommended extensions for contributors

1.6.0

27 Oct 10:37
Compare
Choose a tag to compare

Features

  • Allow adding additional commands when using the bot as a module
  • Added Dutch translation (Thank you @nstapelbroek!)
  • Added !loop command to easily queue a sound multiple times in a row
  • Added !next command which interrupts the current sound with a new one while keeping the queue
  • Added !skip command which allows skipping the current sound
  • Added !exit command which sets axit sounds akin to !entrance
  • Improved !add interface for adding from YouTube
  • Added !set alias for !config command
  • Added !ping command
  • Added a binary

Bugfixes

  • Fixed handling of long help messages (Thanks gruntzy!)
  • Fixed trying to delete messages that were already manually deleted
  • Fixed overwriting of db values

Under the hood

  • Replaced tslint with eslint
  • Added prettier and re-formatted all code
  • Do not rely on config.example.json file

1.5.1

01 Feb 19:57
Compare
Choose a tag to compare

Bugfixes

  • Fixed playing entrance sound when muting / deafening
  • Fixed parsing add range
  • Expanded HelpCommand

1.5.0

17 Jan 22:52
Compare
Choose a tag to compare

Features

  • Added !entrance command
  • Added possibility to specify a range when adding from YouTube
  • Added possibility to specifiy a tag for !random
  • Added Spanish translation (thanks @ibito)
  • Improved Docker build (Thank you @Shamus03!)

Under the hood

  • Fixed a bug specific to Windows paths (Thank you @ibito!)
  • Removed uws in favor of bufferutil
  • Fixed trying to delete already deleted messages
  • Updated dependencies

1.4.0

10 Sep 07:51
Compare
Choose a tag to compare

Features

  • Added !config command
    • Allows changing the config during runtime
  • Added !combo command
    • Allows playing multiple sounds in a row

Behind the scenes

1.3.0

01 Sep 11:06
Compare
Choose a tag to compare

Features

  • !add directly from YouTube
  • Added !welcome command
  • Added deafen configuration option

Bugfixes

  • Fixed chunking of messages

Under the hood

  • Rewrote database logic

1.2.0

27 Aug 15:03
Compare
Choose a tag to compare
  • Allow localization into other languages
    • Added French translation
    • Added German translation
    • Added Hungarian translation
    • Added Japanese translation
  • Use depencency injection via awilix package

1.1.0

17 Aug 19:54
Compare
Choose a tag to compare

Features

  • Added !download command
  • Added !tags command
  • Added volume configuration option
  • Added welcome message when bot first joins a server
  • !sounds sends message in code blocks

Bugfixes

  • Ignore !<sound> commands if sound does not exist
  • Remove all previous !<sound> messages when using !stop
  • !sounds does not try to send an empty message when no sounds exist
  • !sounds and !tags are chunked if message is too large
  • Updated dependencies