Skip to content

Commit 9787999

Browse files
committed
Grammar fixes
1 parent 1fb176b commit 9787999

39 files changed

Lines changed: 101 additions & 101 deletions

src/FMBot.Bot/Builders/AlbumBuilders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ public async Task<ResponseModel> AlbumTracksAsync(
971971
else
972972
{
973973
response.Embed.WithDescription(
974-
$"Sorry, but neither Last.fm or Spotify know the tracks for {albumName}.");
974+
$"Sorry, but neither Last.fm nor Spotify know the tracks for {albumName}.");
975975
response.CommandResponse = CommandResponse.NotFound;
976976
return response;
977977
}

src/FMBot.Bot/Builders/ArtistBuilders.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ public static ResponseModel DiscoverySupporterRequired(ContextModel context, Use
12081208
if (context.ContextUser.UserType == UserType.User)
12091209
{
12101210
response.Embed.WithDescription(
1211-
$"To see what music you've recently discovered we need to store your lifetime Last.fm history. Your lifetime history and more are only available for supporters.");
1211+
$"To see what music you've recently discovered, we need to store your lifetime Last.fm history. Your lifetime history and more are only available for supporters.");
12121212

12131213
response.Components = new ActionRowProperties()
12141214
.WithButton(Constants.GetSupporterButton, style: ButtonStyle.Primary,
@@ -1222,7 +1222,7 @@ public static ResponseModel DiscoverySupporterRequired(ContextModel context, Use
12221222
if (userSettings.UserType == UserType.User)
12231223
{
12241224
response.Embed.WithDescription(
1225-
$"Sorry, discovery commands uses somebody's lifetime listening history. You can only use this command on other supporters.");
1225+
$"Sorry, the discovery command uses somebody's lifetime listening history. You can only use this command on other supporters.");
12261226

12271227
response.Components = new ActionRowProperties()
12281228
.WithButton(".fmbot supporter", style: ButtonStyle.Secondary,

src/FMBot.Bot/Builders/ChartBuilders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public async Task<ResponseModel> ArtistChartAsync(
342342
if (chartSettings.SkipWithoutImage)
343343
{
344344
reply += "\n\n" +
345-
$"Note that {extraArtists} extra albums are required because you are skipping artists without an image.";
345+
$"Note that {extraArtists} extra artists are required because you are skipping artists without an image.";
346346
}
347347

348348
response.Embed.Description = reply;

src/FMBot.Bot/Builders/CrownBuilders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public async Task<ResponseModel> CrownOverviewAsync(
228228
{
229229
if (crownViewType == CrownViewType.Stolen)
230230
{
231-
response.Embed.WithDescription($"You or the user you're searching don't have any crowns that got stolen yet.");
231+
response.Embed.WithDescription($"You or the user you're searching for don't have any crowns that got stolen yet.");
232232
}
233233
else
234234
{

src/FMBot.Bot/Builders/DiscogsBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public async Task<ResponseModel> DiscogsCollectionAsync(ContextModel context,
205205
else
206206
{
207207
response.Embed.WithDescription(
208-
"The user you're trying to look up has not setup their Discogs account yet.");
208+
"The user you're trying to look up has not set up their Discogs account yet.");
209209
}
210210

211211
response.CommandResponse = CommandResponse.UsernameNotSet;
@@ -358,7 +358,7 @@ public async Task<ResponseModel> DiscogsTopArtistsAsync(
358358
else
359359
{
360360
response.Embed.WithDescription(
361-
"The user you're trying to look up has not setup their Discogs account yet.");
361+
"The user you're trying to look up has not set up their Discogs account yet.");
362362
}
363363

364364
response.CommandResponse = CommandResponse.UsernameNotSet;

src/FMBot.Bot/Builders/GuildSettingBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ public static string UserNotAllowedResponseText(bool managersAllowed = true)
529529
var response = new StringBuilder();
530530
response.AppendLine("You are not authorized to change this .fmbot setting.");
531531
response.AppendLine();
532-
response.AppendLine("To change .fmbot settings, you have at least one of the following:");
532+
response.AppendLine("To change .fmbot settings, you need at least one of the following:");
533533
response.AppendLine("- `Administrator` permission");
534534
response.AppendLine("- `Ban Members` permission");
535535
if (managersAllowed)

src/FMBot.Bot/Builders/ImportBuilders.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public async Task<ResponseModel> PickArtist(int userId, NumberFormat numberForma
426426
response.Embed.AddField("Imports successfully edited ✅",
427427
$"`{oldArtistName}` to `{newArtistName}`");
428428
response.Embed.AddField("Note about future imports",
429-
$"Usually when you imports duplicates will be filtered out. However, note that now that your imports are edited there might be duplicates when you import the same service again.");
429+
$"Usually when you import, duplicates will be filtered out. However, note that now that your imports are edited there might be duplicates when you import the same service again.");
430430
response.Components = null;
431431
}
432432
}
@@ -537,7 +537,7 @@ public async Task<ResponseModel> PickAlbum(int userId, NumberFormat numberFormat
537537
response.Embed.AddField("Imports successfully edited ✅",
538538
$"`{oldAlbumRef.Album}` by `{oldAlbumRef.Artist}` to `{newAlbumRef.Album}` by `{newAlbumRef.Artist}`");
539539
response.Embed.AddField("Note about future imports",
540-
$"Usually when you imports duplicates will be filtered out. However, note that now that your imports are edited there might be duplicates when you import the same service again.");
540+
$"Usually when you import, duplicates will be filtered out. However, note that now that your imports are edited there might be duplicates when you import the same service again.");
541541
response.Components = null;
542542
}
543543
}
@@ -647,7 +647,7 @@ public async Task<ResponseModel> PickTrack(int userId, NumberFormat numberFormat
647647
response.Embed.AddField("Imports successfully edited ✅",
648648
$"`{oldTrackRef.Track}` by `{oldTrackRef.Artist}` to `{newTrackRef.Track}` by `{newTrackRef.Artist}`");
649649
response.Embed.AddField("Note about future imports",
650-
$"Usually when you imports duplicates will be filtered out. However, note that now that your imports are edited there might be duplicates when you import the same service again.");
650+
$"Usually when you import, duplicates will be filtered out. However, note that now that your imports are edited there might be duplicates when you import the same service again.");
651651
response.Components = null;
652652
}
653653
}

src/FMBot.Bot/Builders/PlayBuilders.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,13 +1097,13 @@ public async Task<ResponseModel> StreakHistoryAsync(
10971097
if ((streak.StreakEnded - streak.StreakStarted).TotalHours <= 20)
10981098
{
10991099
pageString.Append($"<t:{((DateTimeOffset)streak.StreakStarted).ToUnixTimeSeconds()}:f>");
1100-
pageString.Append($" til ");
1100+
pageString.Append($" until ");
11011101
pageString.Append($"<t:{((DateTimeOffset)streak.StreakEnded).ToUnixTimeSeconds()}:t>");
11021102
}
11031103
else
11041104
{
11051105
pageString.Append($"<t:{((DateTimeOffset)streak.StreakStarted).ToUnixTimeSeconds()}:f>");
1106-
pageString.Append($" til ");
1106+
pageString.Append($" until ");
11071107
pageString.Append($"<t:{((DateTimeOffset)streak.StreakEnded).ToUnixTimeSeconds()}:f>");
11081108
}
11091109

@@ -1832,7 +1832,7 @@ public static ResponseModel GapsSupporterRequired(ContextModel context, UserSett
18321832
if (context.ContextUser.UserType == UserType.User)
18331833
{
18341834
response.Embed.WithDescription(
1835-
$"To see the biggest gaps between when you listened to certain artists we need to store your lifetime Last.fm history. Your lifetime history and more are only available for supporters.");
1835+
$"To see the biggest gaps between when you listened to certain artists, we need to store your lifetime Last.fm history. Your lifetime history and more are only available for supporters.");
18361836

18371837
response.Components = new ActionRowProperties()
18381838
.WithButton(Constants.GetSupporterButton, style: ButtonStyle.Primary,
@@ -1846,7 +1846,7 @@ public static ResponseModel GapsSupporterRequired(ContextModel context, UserSett
18461846
if (userSettings.UserType == UserType.User)
18471847
{
18481848
response.Embed.WithDescription(
1849-
$"Sorry, artist gaps uses somebody's lifetime listening history. You can only use this command on other supporters.");
1849+
$"Sorry, the gaps command uses somebody's lifetime listening history. You can only use this command on other supporters.");
18501850

18511851
response.Components = new ActionRowProperties()
18521852
.WithButton(".fmbot supporter", style: ButtonStyle.Secondary,

src/FMBot.Bot/Builders/RecapBuilders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ await this._dataSourceFactory.GetTopArtistsAsync(userSettings.UserNameLastFm, ti
558558
else
559559
{
560560
response.Embed.WithDescription(
561-
$"To accurately calculate listening time we need to store your full Last.fm history. Your lifetime history and more are only available for supporters.");
561+
$"To accurately calculate listening time, we need to store your full Last.fm history. Your lifetime history and more are only available for supporters.");
562562
response.Embed.WithColor(DiscordConstants.InformationColorBlue);
563563
response.Components.WithButton(Constants.GetSupporterButton, style: ButtonStyle.Primary,
564564
customId: InteractionConstants.SupporterLinks.GeneratePurchaseButtons(source: "recap-listeningtime"));

src/FMBot.Bot/Builders/UserBuilder.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ public static ResponseModel JudgeAsync(ContextModel context,
14181418
{
14191419
description.AppendLine();
14201420
description.Append(
1421-
$"You've ran out of command uses for today, unfortunately the service we use for this is not free. ");
1421+
$"You've run out of command uses for today, unfortunately the service we use for this is not free. ");
14221422
description.AppendLine(
14231423
$"[Become a supporter]({Constants.GetSupporterOverviewLink}) to raise your daily limit and to get access to better responses.");
14241424

@@ -1441,7 +1441,7 @@ public static ResponseModel JudgeAsync(ContextModel context,
14411441

14421442
if (!hasUsesLeft)
14431443
{
1444-
description.AppendLine($"You've ran out of command uses for today.");
1444+
description.AppendLine($"You've run out of command uses for today.");
14451445
}
14461446
}
14471447

@@ -1488,13 +1488,13 @@ public async Task<ResponseModel> JudgeHandleAsync(ContextModel context,
14881488
if (context.ContextUser.UserType == UserType.User)
14891489
{
14901490
description.Append(
1491-
$"You've ran out of command uses for today, unfortunately the service we use for this is not free. ");
1491+
$"You've run out of command uses for today, unfortunately the service we use for this is not free. ");
14921492
description.AppendLine(
14931493
$"[Become a supporter]({Constants.GetSupporterDiscordLink}) to raise your daily limit and the possibility to use the command on others.");
14941494
}
14951495
else
14961496
{
1497-
description.Append($"You've ran out of command uses for today. ");
1497+
description.Append($"You've run out of command uses for today. ");
14981498
}
14991499

15001500
response.Embed.WithDescription(description.ToString());
@@ -1802,7 +1802,7 @@ public async Task<ResponseModel> ImportMode(ContextModel context, int userId)
18021802
embedDescription.AppendLine($"**Imports until full Last.fm**");
18031803
embedDescription.AppendLine(
18041804
$"- Uses your {importSource} history up until the point you started scrobbling on Last.fm");
1805-
embedDescription.AppendLine($"- Best if you have scrobbles on Last.fm from sources other then {importSource}");
1805+
embedDescription.AppendLine($"- Best if you have scrobbles on Last.fm from sources other than {importSource}");
18061806

18071807
var playsWithImportUntilFullLastFm =
18081808
await this._playService.GetPlaysWithDataSource(userId, DataSource.ImportThenFullLastFm);
@@ -2236,7 +2236,7 @@ public async Task<ResponseModel> ListShortcutsAsync(ContextModel context)
22362236
emptyState.AppendLine("- `gamble` > `milestone random`");
22372237
emptyState.AppendLine("- `gm` > `fm oneline`");
22382238
emptyState.AppendLine();
2239-
emptyState.AppendLine($"Make sure you don't include the `{prfx}` prefix when creating shortcuts.");
2239+
emptyState.AppendLine($"Make sure you don't include the `{prfx}` prefix when creating shortcuts.");
22402240
response.ComponentsContainer.AddComponent(new TextDisplayProperties(emptyState.ToString()));
22412241
}
22422242
else
@@ -2441,7 +2441,7 @@ public async Task<ResponseModel> DeleteShortcutAsync(ContextModel context, int s
24412441
{
24422442
if (existingShortcuts.Count >= 10 && currentShortcutId == 0)
24432443
{
2444-
response.Embed.WithDescription($"❌ You can't create more then 10 shortcuts");
2444+
response.Embed.WithDescription($"❌ You can't create more than 10 shortcuts");
24452445
response.Embed.WithColor(DiscordConstants.WarningColorOrange);
24462446
response.CommandResponse = CommandResponse.Cooldown;
24472447
return (false, response);

0 commit comments

Comments
 (0)