Skip to content

Commit

Permalink
bump version to 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgauthier committed Jul 5, 2021
1 parent 34cea3c commit 279e155
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 1 deletion.
22 changes: 22 additions & 0 deletions docs/release-notes/1.13.0_changelog.md
Original file line number Diff line number Diff line change
@@ -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. 📈
2 changes: 1 addition & 1 deletion src/slash-commands/remind.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
Expand Down
16 changes: 16 additions & 0 deletions src/taylorbot-postgres/sqitch/deploy/0024_bump_version_1.13.0.sql
Original file line number Diff line number Diff line change
@@ -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;
17 changes: 17 additions & 0 deletions src/taylorbot-postgres/sqitch/revert/0024_bump_version_1.13.0.sql
Original file line number Diff line number Diff line change
@@ -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;
1 change: 1 addition & 0 deletions src/taylorbot-postgres/sqitch/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
0021_bump_version_1.11.1 2021-05-16T02:20:11Z Adam Gauthier <[email protected]> # Bump product version to 1.11.1
0022_add_mod_mail_blocked_users 2021-06-03T16:33:37Z Adam Gauthier <[email protected]> # Add moderation.mod_mail_blocked_users
0023_bump_version_1.12.0 2021-06-05T03:53:54Z Adam Gauthier <[email protected]> # Bump product version to 1.12.0
0024_bump_version_1.13.0 2021-07-05T01:35:56Z Adam Gauthier <[email protected]> # Bump product version to 1.13.0
14 changes: 14 additions & 0 deletions src/taylorbot-postgres/sqitch/verify/0024_bump_version_1.13.0.sql
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 279e155

Please sign in to comment.