Skip to content

0.2.0

Compare
Choose a tag to compare
@Kenny2github Kenny2github released this 18 Jan 12:38
· 75 commits to main since this release

New Stuff

  • Base command groups will be able to be invoked directly at some point in the future, so that is supported now
  • This means that the decorated coro is actually the callback
  • Checks have been moved into @Group.check
  • You can specify in_addition=True to call the group callback before a subcommand callback
  • MessageFlags enum marks message flags
  • In particular, MessageFlags.EPHEMERAL can be passed into the new flags argument in Context.respond() to send a message à la Clyde that is private and dismissable

Changes

  • The entire traceback for failed fetches when constructing Contexts is no longer logged, only the fact that the fetch failed.
  • Some objects now have __repr__s or __str__s
  • Group inherits from Command

Fixes

  • Logger name was wrong (correct is discord.ext.slash)
  • allowed_mentions was actually supported by the API this whole time, but my implementation was faulty