Skip to content

v2.10.2 - Fix component autocommit and int options

Compare
Choose a tag to compare
@freya022 freya022 released this 04 Jun 08:53
7d60429

Overview

Fixes global command errors being swallowed and some database operations not being committed when autocommit is off by default (when using Hibernate for example)

Fixes

  • Use autocommitted connections in DefaultComponentManager by @freya022 in #70
  • Fix IntegerResolver returning a long, when it should return an int in component handlers

Changes

  • Throw if a guild-only event is used on a global command
  • Improve logs and errors

Additions

  • Add BContext#scheduleGlobalApplicationCommandsUpdate to update global commands

Full Changelog: v2.10.1...v2.10.2