diff --git a/CHANGELOG.md b/CHANGELOG.md index 0982880..86fe940 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [1.0.2] - 2020-12-15 ### Added - Default retention with `*` +- Improve sleep interval to start when the last run started, not ended + ## [1.0.1] - 2020-12-11 ### Added - `DELETE_PINNED={true,false}` functionality @@ -31,7 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Working prototype for one guild - Basic GitHub actions setup -[Unreleased]: https://github.com/bahlo/discord-retention-bot/compare/v1.0.1...HEAD +[Unreleased]: https://github.com/bahlo/discord-retention-bot/compare/v1.0.2...HEAD +[1.0.2]: https://github.com/bahlo/discord-retention-bot/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/bahlo/discord-retention-bot/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/bahlo/discord-retention-bot/compare/v0.1.0...v1.0.0 [0.1.0]: https://github.com/olivierlacan/keep-a-changelog/releases/tag/v0.1.0 diff --git a/Cargo.lock b/Cargo.lock index ef7c1d9..8683842 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -178,7 +178,7 @@ dependencies = [ [[package]] name = "discord-retention-bot" -version = "1.0.1" +version = "1.0.2" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 079cd1e..0881321 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "discord-retention-bot" -version = "1.0.1" +version = "1.0.2" authors = ["Arne Bahlo "] edition = "2018" description = "A bot that allows you to set a message retention for individual Discord text channels." @@ -23,4 +23,4 @@ thiserror = "1.0" futures = "0.3" tokio-test = "0.3" serde_json = "1.0" -rand = "0.7" \ No newline at end of file +rand = "0.7" diff --git a/README.md b/README.md index 53425b2..103d865 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ channels. * [Installation](#installation) * [Configuration](#configuration) * [Troubleshooting](#troubleshooting) -* [Running integration tests](#running-integration-tests) +* [Integration tests](#integration-tests) ## Features * Automatically delete messages that are older than a configured time @@ -46,7 +46,7 @@ and download the binary for your architecture. ### Docker You can use the provided Docker image at -`docker.pkg.github.com/bahlo/discord-retention-bot/discord-retention-bot:1.0.1`. +`docker.pkg.github.com/bahlo/discord-retention-bot/discord-retention-bot:1.0.2`. ### Cargo Run `cargo install discord-retention-bot` to install the latest version from @@ -102,7 +102,7 @@ following permissions: * Manage Messages * Read Message History -## Running integration tests +## Integration tests To run integration tests you need to create a bot (see [Preparation](#Preparation)), but with the bitmask 76816, which translates to: