Skip to content

Releases: DiscordBot-PMMP/DiscordBot

DiscordBot v2.1.6

23 Dec 16:21
9957375
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN
See https://github.com/DiscordBot-PMMP/ChatBridge

Changelog

This is a patch update, this plugin follows the Semantic Versioning scheme.

All plugins that used v2.0.0 to v2.1.5 will continue to work on v2.1.6 without any changes and vice versa.

General Changes

  • Resolved #78 - Attachment limits have been adjusted to allow for 'empty' files.
  • Resolved #79 / #80 - Application command replies/messages not being handled, for now handle them as normal messages without reference to command.

Model Changes:

  • Message Attachment's size, width and height properties are now >=0 (previously >0)

DiscordBot v2.1.5

28 Aug 18:35
47ce831
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN
See https://github.com/DiscordBot-PMMP/ChatBridge

Changelog

This is a patch update, this plugin follows the Semantic Versioning scheme.

All plugins that used v2.0.0 to v2.1.4 will continue to work on v2.1.5 without any changes and vice versa.

General Changes

  • Closes #75 xdebug is not strictly disallowed, a strong warning is still shown when enabled.

DiscordBot v2.1.4

22 Jul 18:46
68a3d3e
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

This is a patch update, this plugin follows the Semantic Versioning scheme.

All plugins that used v2.0.0 to v2.1.3 will continue to work on v2.1.4 without any changes.

General Changes

  • Closes #63 - Making /debugdata async.
  • Adjusted discord snowflake check to include new character length of 19.

Config Changes

None

API Changes

None

Model Changes:

None

Event Changes:

None

Storage Changes:

None

Command Changes

None

DiscordBot v2.1.3

08 May 18:15
1a0b4f8
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

This is a patch update, this plugin follows the Semantic Versioning scheme.

All plugins that used v2.0.0 to v2.1.2 will continue to work on v2.1.3 without any changes.

General Changes

  • Fixed #59 where an Owner/Admin(TBC) of the discord server can still join a full voice channel.
  • Fixed #55 where the Message attachment's content_type could be null.

Config Changes

None

API Changes

Messages/Attachment.php

  • content_type can now be null in constructor/setter.
  • getContentType(): string returns "Unknown" instead of null (can return null in v3.0)

Model Changes:

None

Event Changes:

None

Storage Changes:

None

Command Changes

None

DiscordBot v2.1.2

06 Apr 14:49
402d321
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

This is a patch update, this plugin follows the Semantic Versioning scheme.

All plugins that used v2.0.0 to v2.1.1 will continue to work on v2.1.2 without any changes.

General Changes

  • Fixed #52 (Invites created with no 'owner' were not handled)
  • Updated react/promise to v2.9.0 removing dependency on our custom tag for PHP8 fix. (DiscordBot-PMMP/promise is now archived)

Config Changes

  • Small changes to default text no behaviour changes.
  • Fixed invalid heartbeat allowance message.

API Changes

None

Model Changes:

None

Event Changes:

None

Storage Changes:

  • setTimestamp validation added. (>=0)

Command Changes

None

DiscordBot v2.1.1

12 Dec 11:55
b5db5e7
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

This is a patch update, this plugin follows the Semantic Versioning scheme.

All plugins that used v2.0.0 to v2.1.0 will continue to work on v2.1.1 without any changes.

General Changes

  • Fixed #49 (Blank voice channel ID's)
  • Fixed #50 (Referenced message ID assertion should not have been there, referenced message can be null.)
  • Fixed #51 (Activity URL check has been reduced to https as discord does NOT check it strictly for twitch.tv / youtube.com)

Config Changes

None

API Changes

None

Model Changes:

  • Activity URL is less strict (https prefix only)

Event Changes:

None

Storage Changes:

  • MembersVoiceChannel map is now populated on data dump.

Command Changes

None

DiscordBot v2.1.0

02 Dec 17:55
82ab054
Compare
Choose a tag to compare

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

This is a minor update, this plugin follows Semantic Versioning scheme so all plugins using the API will continue to work as intended on all minor and patch updates.

All plugins that used v2.0.x will continue to work on v2.1.0

General Changes

  • Now supports PMMP 4 (dropped support for PMMP 3)
  • PHP 8.0.3 is now the minimum required (previously 7.4.0)
  • PSR-4 Standard is now used (src-namespace-prefix)
  • The discord thread no longer uses ANY aspect of pocketmine it is completely separate, meaning composer conflicts are now impossible.
  • The thread logger in pocketmine has been dropped in favour of monolog (thread logs are found in plugin_data/discordbot/logs)

Config Changes

All configuration changes noted with [a] are carried out automatically, some changes require user input and these changes will be noted accordingly with [m]

  • logging.debug option has been removed. [a]

API Changes

More type and value checks have been added/adjusted across the entire plugin more promises will be rejected for invalid data rather than throwing errors and crashing servers.

Model Changes:

None

Event Changes:

Storage Changes:

  • getServers(): Server[] added
  • getUsers(): User[] added
  • getBansByServer(string $server_id): Ban[] added
    • getServerBans deprecated (will be removed in v3.0.0) in favour of getBansByServer

Command Changes

None

DiscordBot v2.0.4

02 Oct 13:03
92b83ef
Compare
Choose a tag to compare

DiscordBot v2.0.4

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

A small patch update.

  • fixed Logger showing debug messages disregarding logger level in pocketmine.yml (#41)

API Changes

None

Model Changes:

None

Event Changes:

None

Storage Changes:

None

Command Changes

None

DiscordBot v2.0.3

04 Sep 18:54
4e39bee
Compare
Choose a tag to compare

DiscordBot v2.0.3

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

A patch update changing internal things only, No changes to public API made.

  • Plugin disable procedure changed, joins thread that now checks more frequently during data dump for close request.

API Changes

None

Model Changes:

None

Event Changes:

None

Storage Changes:

None

Command Changes

None

DiscordBot v2.0.2

03 Sep 08:16
49a06c6
Compare
Choose a tag to compare

DiscordBot v2.0.2

DiscordBot brings a powerful promise API to interact with Discord by a bot.

PLEASE NOTE THIS IS NOT A FUNCTIONAL CHAT BRIDGE PLUGIN This is a separate plugin which will be released very shortly. (watch this space)

Changelog

A patch update changing internal things only, No changes to public API made.

  • Thread logger no longer hacks its way into pocketmine's server.log file.
  • Fixed hanging plugin when thread throws an exception/error on start.
  • Autoloading changed completely, Thread no longer loads the BaseClassLoader (autoloader full of plugins paths) so no conflicts possible in thread.
  • Pocketmines dependencies are now checked before loading them to avoid conflicts.
  • Stripped PluginBase config functions (reloadConfig, saveConfig) as it conflicts with our config.

API Changes

None

Model Changes:

None

Event Changes:

None

Storage Changes:

None

Command Changes

None