Skip to content

Commit

Permalink
Update character limit for channel names
Browse files Browse the repository at this point in the history
The character limit for channel names in the ChannelStatusManager has been increased from 50 to 250 characters. The error message has also been updated to reflect this change.
  • Loading branch information
FabiChan99 committed Dec 25, 2023
1 parent 68653f4 commit 45af7be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Commands/TempVC/ChannelStatusManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public async Task SetStatus(CommandContext ctx, [RemainingText] string text)
{
_ = Task.Run(async () =>
{
if (text.Length == 0 || text.Length > 50)
if (text.Length == 0 || text.Length > 250)
{
await ctx.RespondAsync(
"<:attention:1085333468688433232> **Fehler!** Der Name muss zwischen 1 und 50 Zeichen lang sein.");
"<:attention:1085333468688433232> **Fehler!** Der Name muss zwischen 1 und 250 Zeichen lang sein.");
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace AGC_Management;

public class CurrentApplicationData
{
public static string VersionString { get; set; } = "v1.44.0 rev.2";
public static string VersionString { get; set; } = "v1.44.0 rev.3";
public static DiscordClient Client { get; set; }
public static ILogger Logger { get; set; }
}
Expand Down

0 comments on commit 45af7be

Please sign in to comment.