diff --git a/docs/release-notes/1.13.0_changelog.md b/docs/release-notes/1.13.0_changelog.md new file mode 100644 index 00000000..951c23de --- /dev/null +++ b/docs/release-notes/1.13.0_changelog.md @@ -0,0 +1,22 @@ +# TaylorBot Release Notes 📝 +`v1.13.0` - `2021.07.05` ⭐ + +- **Reminders** have been revamped and turned into slash commands! ⚡ + - Add a reminder with **/remind add**. Pick how long from now you want to be reminded at (i.e. `3h` for 3 hours). Assuming your DM settings allow it, you'll receive a DM from TaylorBot to remind you. ⏰ + - You can have at most **2** reminders active at the same time. TaylorBot Plus members can have up to **4**. 🧱 + - You can see your active reminders and delete them using **/remind manage**. 📃 + - Prefixed reminder commands can't be used anymore. 🧓 + +- Search for YouTube videos using the new **/youtube** command! 🎥 + - The command now uses buttons that appear instantly instead of reactions! 🔘 + - The slash command is limited to **7** uses per day. The prefixed **YouTube** command can still be used, but will be limited to **3** uses per day. ⛔ + +- Message and word counting is no longer immediate. The counts will be updated periodically every few minutes. 🧮 + - This should fix an issue where random command errors could occur when there were a lot of message sent at the same time. 🐛 + +- Threads are soon coming to Discord! This feature requires some changes in bots and not all features will work properly from the get go. 🥨 + - For now, only TaylorBot slash commands will work in threads. Prefixed commands won't get a response from TaylorBot. 😕 + - TaylorBot won't count messages, words and minutes for messages sent in threads. Deleted messages from threads will not be logged. 😕 + - Some big changes are required to make these features work in threads, hopefully they will be added in future TaylorBot updates. 🔜 + +- Lots of minor improvements and fixes. 📈 diff --git a/src/slash-commands/remind.json b/src/slash-commands/remind.json index bab7d864..4069eb4c 100644 --- a/src/slash-commands/remind.json +++ b/src/slash-commands/remind.json @@ -23,7 +23,7 @@ }, { "name": "manage", - "description": "Manage (show and delete) your current reminders", + "description": "Show your active reminders and optionally delete some of them", "type": 1 } ] diff --git a/src/taylorbot-postgres/sqitch/deploy/0024_bump_version_1.13.0.sql b/src/taylorbot-postgres/sqitch/deploy/0024_bump_version_1.13.0.sql new file mode 100644 index 00000000..7fc788e8 --- /dev/null +++ b/src/taylorbot-postgres/sqitch/deploy/0024_bump_version_1.13.0.sql @@ -0,0 +1,16 @@ +-- Deploy taylorbot-postgres:0024_bump_version_1.13.0 to pg + +BEGIN; + +UPDATE configuration.application_info SET info_value = '1.13.0' WHERE info_key = 'product_version'; + +INSERT INTO commands.messages_of_the_day (message, priority_from, priority_to) VALUES +('TaylorBot 1.13.0 is out! Try the revamped reminder feature! Ask TaylorBot to remind you about something using **/remind add**.', timestamp with time zone '2021-07-07', timestamp with time zone '2021-07-09'); + +UPDATE commands.messages_of_the_day SET + message = 'You can send and receive messages through your moderation team. As a moderator, use **/mod mail message-user** and as a user, use **/mod mail message-mods**!', + priority_from = NULL, + priority_to = NULL +WHERE message = 'TaylorBot 1.12.0 is out! You can now send and receive messages through your moderation team. As a moderator, use **/mod mail message-user** and as a user, use **/mod mail message-mods**!'; + +COMMIT; diff --git a/src/taylorbot-postgres/sqitch/revert/0024_bump_version_1.13.0.sql b/src/taylorbot-postgres/sqitch/revert/0024_bump_version_1.13.0.sql new file mode 100644 index 00000000..fa531a44 --- /dev/null +++ b/src/taylorbot-postgres/sqitch/revert/0024_bump_version_1.13.0.sql @@ -0,0 +1,17 @@ +-- Revert taylorbot-postgres:0024_bump_version_1.13.0 from pg + +BEGIN; + +UPDATE configuration.application_info SET info_value = '1.12.0' WHERE info_key = 'product_version'; + +DELETE FROM commands.messages_of_the_day WHERE + message = 'TaylorBot 1.13.0 is out! Try the revamped reminder feature! Ask TaylorBot to remind you about something using **/remind add**.' +; + +UPDATE commands.messages_of_the_day SET + message = 'TaylorBot 1.12.0 is out! You can now send and receive messages through your moderation team. As a moderator, use **/mod mail message-user** and as a user, use **/mod mail message-mods**!', + priority_from = timestamp with time zone '2021-06-06', + priority_to = timestamp with time zone '2021-06-08' +WHERE message = 'You can send and receive messages through your moderation team. As a moderator, use **/mod mail message-user** and as a user, use **/mod mail message-mods**!'; + +COMMIT; diff --git a/src/taylorbot-postgres/sqitch/sqitch.plan b/src/taylorbot-postgres/sqitch/sqitch.plan index 57f456ff..272d5489 100644 --- a/src/taylorbot-postgres/sqitch/sqitch.plan +++ b/src/taylorbot-postgres/sqitch/sqitch.plan @@ -25,3 +25,4 @@ 0021_bump_version_1.11.1 2021-05-16T02:20:11Z Adam Gauthier # Bump product version to 1.11.1 0022_add_mod_mail_blocked_users 2021-06-03T16:33:37Z Adam Gauthier # Add moderation.mod_mail_blocked_users 0023_bump_version_1.12.0 2021-06-05T03:53:54Z Adam Gauthier # Bump product version to 1.12.0 +0024_bump_version_1.13.0 2021-07-05T01:35:56Z Adam Gauthier # Bump product version to 1.13.0 diff --git a/src/taylorbot-postgres/sqitch/verify/0024_bump_version_1.13.0.sql b/src/taylorbot-postgres/sqitch/verify/0024_bump_version_1.13.0.sql new file mode 100644 index 00000000..3f13de92 --- /dev/null +++ b/src/taylorbot-postgres/sqitch/verify/0024_bump_version_1.13.0.sql @@ -0,0 +1,14 @@ +-- Verify taylorbot-postgres:0024_bump_version_1.13.0 on pg + +BEGIN; + +DO $$ +BEGIN + ASSERT (SELECT info_value FROM configuration.application_info WHERE info_key = 'product_version') = '1.13.0'; + + ASSERT (SELECT EXISTS((SELECT FROM commands.messages_of_the_day WHERE + message = 'TaylorBot 1.13.0 is out! Try the revamped reminder feature! Ask TaylorBot to remind you about something using **/remind add**.' + ))); +END $$; + +ROLLBACK;