-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0efb745
commit 3d1f6fb
Showing
10 changed files
with
183 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# TaylorBot v1.21.0 Release Notes 📝 | ||
|
||
- Use TaylorBot everywhere on Discord 🎉 | ||
- You can add **TaylorBot** to your account, allowing you to use even in servers where **TaylorBot** is not added 🌐 | ||
- On **TaylorBot's profile**, tap **Add App** -> **Use this app everywhere** ✅ | ||
- You can now go to **DMs** with your friends and type **/** to use **TaylorBot** commands ✨ | ||
- Some commands like **/server**, **/channel**, and **/mod** are not available unless **TaylorBot** is added to the **server** ⚠️ | ||
|
||
- Added **/usernames show** command to see the username history of a user! 🔍 | ||
- Use **/usernames visibility** to configure the visibility of your own history through this command 🕵️ | ||
- These commands replace the prefixed **Usernames** command, with improvements ♻️ | ||
|
||
- Added **/plus show** command to see your **TaylorBot Plus** status! 💎 | ||
- **TaylorBot Plus** is a [Patreon](https://www.patreon.com/taylorbot) subscription giving you and your favorite servers exclusive access to features ⚡ | ||
- You also get some extra taypoints every month as a thank you for supporting TaylorBot and keeping it free for everyone 💖 | ||
- Use **/plus add** and **/plus remove** to add/remove the current server to/from your plus servers, giving it access to exclusive perks 💪 | ||
- These commands replace the prefixed **Plus** commands, with improvements ♻️ | ||
|
||
- Leaderboards commands are better than ever! 🏆 | ||
- **Fixed** issues with **slowness and errors in large servers** due to scaling ↗️ | ||
- Leaderboards now show up to **150 entries** in 10 pages 📖 | ||
- **/taypoints balance** shows you the **leaderboard rank of the user** in the current server if they are top 500 🥇 | ||
|
||
- Increased birthday rewards from **1,000** taypoints to **5,000** taypoints, use **/birthday set** to set yours 🎁 | ||
|
||
- Monitored edited messages from **/monitor edited** now include a jump link to the message! 🔗 | ||
|
||
- Significantly improved **stability, reliability and latency** of all commands through many behind the scenes changes 🚀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
param ( | ||
[Parameter(Mandatory = $true)] | ||
[string]$ChangeName, | ||
|
||
[Parameter(Mandatory = $true)] | ||
[string]$Note, | ||
|
||
[Parameter(Mandatory = $false)] | ||
[string]$Email, | ||
|
||
[Parameter(Mandatory = $false)] | ||
[string]$FullName | ||
) | ||
Set-StrictMode -Version Latest | ||
$ErrorActionPreference = "Stop" | ||
|
||
[System.ArgumentException]::ThrowIfNullOrWhiteSpace($ChangeName, "ChangeName") | ||
[System.ArgumentException]::ThrowIfNullOrWhiteSpace($Note, "Note") | ||
|
||
if ([string]::IsNullOrWhiteSpace($Email)) { | ||
Write-Output "Getting email from git config" | ||
$Email = git config user.email | ||
} | ||
[System.ArgumentException]::ThrowIfNullOrWhiteSpace($Email, "Email") | ||
|
||
if ([string]::IsNullOrWhiteSpace($FullName)) { | ||
Write-Output "Getting full name from git config" | ||
$FullName = git config user.name | ||
} | ||
[System.ArgumentException]::ThrowIfNullOrWhiteSpace($FullName, "FullName") | ||
|
||
Set-Location "$PSScriptRoot/sqitch" | ||
|
||
$Date = Get-Date -Format "yyyyMMdd" | ||
$FullChangeName = "${Date}_${ChangeName}" | ||
|
||
C:\WINDOWS\system32\wsl.exe --distribution Ubuntu-20.04 -- ` | ||
bash -c "export SQITCH_FULLNAME='$FullName' && export SQITCH_EMAIL='$Email' && ./sqitch.sh add --change-name '$FullChangeName' --note '$Note'" |
23 changes: 23 additions & 0 deletions
23
src/taylorbot-postgres/sqitch/deploy/20240611_bump_version_1.21.0.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- Deploy taylorbot-postgres:20240611_bump_version_1.21.0 to pg | ||
|
||
BEGIN; | ||
|
||
UPDATE configuration.application_info SET info_value = '1.21.0' WHERE info_key = 'product_version'; | ||
|
||
UPDATE commands.messages_of_the_day | ||
SET message = 'Subscribe to [TaylorBot Plus](https://www.patreon.com/taylorbot) to get **exclusive features and taypoints**, learn more with </plus show:1246970937321066608> 💎' | ||
WHERE message = 'TaylorBot is funded by the community, thanks to our TaylorBot Plus members. Learn more with `{prefix}plus`.'; | ||
|
||
UPDATE commands.messages_of_the_day | ||
SET message = 'On **TaylorBot''s profile**, tap **Add App** -> **Add to Server** to add TaylorBot to your own server! 🤖' | ||
WHERE message = 'Do you like TaylorBot? Do you want to add me to another server you''re in? Use the ''**Add to Server**'' button on my profile to get started!'; | ||
|
||
INSERT INTO commands.messages_of_the_day (message, priority_from, priority_to) VALUES ( | ||
'TaylorBot **1.21.0** is out! You can **use the bot everywhere on Discord** 🎉 | ||
- Add **TaylorBot** to your account, allowing you to use even in servers where **TaylorBot** is not added 🌐 | ||
- On **TaylorBot''s profile**, tap **Add App** -> **Use this app everywhere** ✅ | ||
- You can also go to **DMs** with your friends and type **/** to use **TaylorBot** commands ✨' | ||
, timestamp with time zone '2024-06-12', timestamp with time zone '2024-06-14'); | ||
|
||
|
||
COMMIT; |
22 changes: 22 additions & 0 deletions
22
src/taylorbot-postgres/sqitch/revert/20240611_bump_version_1.21.0.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-- Revert taylorbot-postgres:20240611_bump_version_1.21.0 from pg | ||
|
||
BEGIN; | ||
|
||
DELETE FROM commands.messages_of_the_day | ||
WHERE message = | ||
'TaylorBot **1.21.0** is out! You can **use the bot everywhere on Discord** 🎉 | ||
- Add **TaylorBot** to your account, allowing you to use even in servers where **TaylorBot** is not added 🌐 | ||
- On **TaylorBot''s profile**, tap **Add App** -> **Use this app everywhere** ✅ | ||
- You can also go to **DMs** with your friends and type **/** to use **TaylorBot** commands ✨'; | ||
|
||
UPDATE commands.messages_of_the_day | ||
SET message = 'Do you like TaylorBot? Do you want to add me to another server you''re in? Use the ''**Add to Server**'' button on my profile to get started!' | ||
WHERE message = 'On **TaylorBot''s profile**, tap **Add App** -> **Add to Server** to add TaylorBot to your own server! 🤖'; | ||
|
||
UPDATE commands.messages_of_the_day | ||
SET message = 'TaylorBot is funded by the community, thanks to our TaylorBot Plus members. Learn more with `{prefix}plus`.' | ||
WHERE message = 'Subscribe to [TaylorBot Plus](https://www.patreon.com/taylorbot) to get **exclusive features and taypoints**, learn more with </plus show:1246970937321066608> 💎'; | ||
|
||
UPDATE configuration.application_info SET info_value = '1.20.0' WHERE info_key = 'product_version'; | ||
|
||
COMMIT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/taylorbot-postgres/sqitch/verify/20240611_bump_version_1.21.0.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
-- Verify taylorbot-postgres:20240611_bump_version_1.21.0 on pg | ||
|
||
BEGIN; | ||
|
||
DO $$ | ||
BEGIN | ||
ASSERT (SELECT info_value FROM configuration.application_info WHERE info_key = 'product_version') = '1.21.0'; | ||
|
||
ASSERT (SELECT NOT EXISTS(SELECT FROM commands.messages_of_the_day WHERE | ||
position('{prefix}plus' in message) > 0 | ||
)); | ||
|
||
ASSERT (SELECT EXISTS(SELECT FROM commands.messages_of_the_day WHERE | ||
message = 'On **TaylorBot''s profile**, tap **Add App** -> **Add to Server** to add TaylorBot to your own server! 🤖' | ||
)); | ||
|
||
ASSERT (SELECT EXISTS(SELECT FROM commands.messages_of_the_day WHERE message = | ||
'TaylorBot **1.21.0** is out! You can **use the bot everywhere on Discord** 🎉 | ||
- Add **TaylorBot** to your account, allowing you to use even in servers where **TaylorBot** is not added 🌐 | ||
- On **TaylorBot''s profile**, tap **Add App** -> **Use this app everywhere** ✅ | ||
- You can also go to **DMs** with your friends and type **/** to use **TaylorBot** commands ✨' | ||
)); | ||
END $$; | ||
|
||
ROLLBACK; |