Skip to content

ircbot-v0.7.0

Latest

Choose a tag to compare

@chrj-release-app chrj-release-app released this 10 Oct 08:59
52d3e6e

Added

  • add the ops plugin (#201)

  • [breaking] let a role match the hostmask, the services account, or either (#196)

    with_role takes impl Into<Role> instead of a list of patterns, so a call with an iterator that is not an array or a Vec must use Role::hostmask, and the public authorized function has a new account argument.

  • add the notify plugin (#194)

  • add the ircbot-plugins crate with the seen plugin (#192)

  • [breaking] add a built-in !help command (#190)

    CommandOwner is now #[non_exhaustive] and has a new variant Help, so a match on it needs a wildcard arm.

  • [breaking] run plugins on #[bot], and connect in main_loop (#189)

    The new and new_with_state constructors of a #[bot] no longer connect and are no longer async, so remove the .await? after them; main_loop now connects and returns the connection error, and it refuses to start, with a StartError, when a command needs a role that no with_role defines.

  • add typed key/value data to the store (#186)

  • add a SQLite store for bot data (#185)

  • add no_default flag for bot state without Default (#181)

  • add new_with_state constructor for bots with state (#179)

Fixed

  • keep !seen of the sqlite_bot example inside the channel that asks (#193)
  • let an Option argument come before other arguments (#191)

Other

  • use the store in the SQLite example (#187)
  • run the unit tests of the examples (#183)
  • add a SQLite example with no_default state (#182)