Skip to content

Flight 3.0.4

Compare
Choose a tag to compare
@devoxin devoxin released this 20 Jul 17:36
· 21 commits to master since this release

Additions

  • Added Context#respond(FileUpload).
  • Added Context#respond(DSLMessageCreateBuilder)
    • This aims to allow users to create more fleshed-out responses with familiar Kotlin DSL. The custom class also enables building embeds with DSL.
  • Added SlashContext#replyAsync(Modal)
  • Added Context#respond(DSLMessageCreateBuilder)

Removals

  • Removed Context#respond(EmbedBuilder)
    • The signature clashed with the new Context#respond(DSLMessageCreateBuilder). As the new method offers more functionality, embed was removed in favour of this. However, porting should be trivial as it now becomes ctx.respond { embed { ... } }.

Improvements

  • Improved documentation for Context.

Misc

  • Updated JDA dependency.