Skip to content

Commit

Permalink
bump version to 1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgauthier committed Dec 6, 2023
1 parent adf54ba commit 5123594
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 21 deletions.
21 changes: 21 additions & 0 deletions docs/release-notes/1.19.0_changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TaylorBot v1.19.0 Release Notes 📝

- Added **/server joined** command! 🚪
- This command tracks and shows a member's first joined date in the current server 👀
- Use **/server timeline** to get a chronological timeline of the first members who joined the server 📜
- These commands replace **Joined** and **RankJoined** ♻️

- Added **/server messages** and **/server minutes** commands! ⏳
- These commands are used to see a member's amount of messages sent and minutes of activity in a server ✍️
- Use **/server leaderboard** to get a leaderboard of minutes or messages for the current server 🎖️
- These commands replace **Messages**, **Minutes**, **RankMessages** and **RankMinutes** ♻️

- Added **/favorite** commands! 💞
- Use **/favorite songs** to set and see your friends' favorite songs 🎧
- Use **/favorite bae** to set and see your friends' baes 💝
- Use **/favorite obsession** (previously "waifu") to set and see your friends' obsession picture 🖼️
- These commands replace the prefixed commands, with improvements ♻️

- Added **/gender** commands to replace prefixed **Gender**! 🆔

- Added support for 'all', 'half', etc. in **/taypoints gift** 🪙
15 changes: 15 additions & 0 deletions src/taylorbot-postgres/sqitch/deploy/0043_bump_version_1.19.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- Deploy taylorbot-postgres:0043_bump_version_1.19.0 to pg

BEGIN;

UPDATE commands.messages_of_the_day
SET message = 'TaylorBot keeps track of how active you are in each server. Use </server minutes:1137547317549998130>, </server messages:1137547317549998130> and </server leaderboard:1137547317549998130> in you favorite server!'
WHERE message = 'TaylorBot keeps track of how active you are in each server. Use `{prefix}minutes` and `{prefix}rankminutes` to see time spent in a server!';

UPDATE commands.messages_of_the_day
SET message = 'TaylorBot remembers the date when you first joined a server. Use </server joined:1137547317549998130> to see yours!'
WHERE message = 'TaylorBot remembers the date when you first joined a server. Use `{prefix}joined` to see yours!';

UPDATE configuration.application_info SET info_value = '1.19.0' WHERE info_key = 'product_version';

COMMIT;
15 changes: 15 additions & 0 deletions src/taylorbot-postgres/sqitch/revert/0043_bump_version_1.19.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- Revert taylorbot-postgres:0043_bump_version_1.19.0 from pg

BEGIN;

UPDATE configuration.application_info SET info_value = '1.18.0' WHERE info_key = 'product_version';

UPDATE commands.messages_of_the_day
SET message = 'TaylorBot remembers the date when you first joined a server. Use `{prefix}joined` to see yours!'
WHERE message = 'TaylorBot remembers the date when you first joined a server. Use </server joined:1137547317549998130> to see yours!';

UPDATE commands.messages_of_the_day
SET message = 'TaylorBot keeps track of how active you are in each server. Use `{prefix}minutes` and `{prefix}rankminutes` to see time spent in a server!'
WHERE message = 'TaylorBot keeps track of how active you are in each server. Use </server minutes:1137547317549998130>, </server messages:1137547317549998130> and </server leaderboard:1137547317549998130> in you favorite server!';

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 @@ -44,3 +44,4 @@
0040_bump_version_1.17.0 2023-07-03T18:50:20Z Adam Gauthier <adamgauthier12@gmail.com> # Bump product version to 1.17.0
0041_age_role 2023-07-21T02:45:00Z Adam Gauthier <adamgauthier12@gmail.com> # Add age role configuration
0042_bump_version_1.18.0 2023-08-29T02:53:59Z Adam Gauthier <adamgauthier12@gmail.com> # Bump product version to 1.18.0
0043_bump_version_1.19.0 2023-12-06T03:15:57Z Adam Gauthier <adamgauthier12@gmail.com> # Bump product version to 1.19.0
18 changes: 18 additions & 0 deletions src/taylorbot-postgres/sqitch/verify/0043_bump_version_1.19.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- Verify taylorbot-postgres:0043_bump_version_1.19.0 on pg

BEGIN;

DO $$
BEGIN
ASSERT (SELECT NOT EXISTS(SELECT FROM commands.messages_of_the_day WHERE
position('{prefix}minutes' in message) > 0
));

ASSERT (SELECT NOT EXISTS(SELECT FROM commands.messages_of_the_day WHERE
position('{prefix}joined' in message) > 0
));

ASSERT (SELECT info_value FROM configuration.application_info WHERE info_key = 'product_version') = '1.19.0';
END $$;

ROLLBACK;
21 changes: 0 additions & 21 deletions src/taylorbot-typescript/attributes/IntegerUserAttribute.ts

This file was deleted.

0 comments on commit 5123594

Please sign in to comment.