Skip to content

Commit

Permalink
Update terminology in ban message
Browse files Browse the repository at this point in the history
Terminology in ban messages was changed from "Entbannportal" to "Entbannungsserver", improving clarity and accuracy. The updates took place in several files: MultiBanCommand.cs, MultiBanRequestCommand.cs, BanRequestCommand.cs and BanUserCommand.cs.
  • Loading branch information
FabiChan99 committed Dec 8, 2023
1 parent 008ad89 commit 1370c96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Commands/Moderation/BanRequestCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public async Task BanRequest(CommandContext ctx, DiscordUser user, [RemainingTex
.WithTitle($"Du wurdest von {ctx.Guild.Name} gebannt!")
.WithDescription($"**Begründung:**```{reason}```\n" +
$"**Du möchtest einen Entbannungsantrag stellen?**\n" +
$"Dann kannst du eine Entbannung beim [Entbannportal]({ModerationHelper.GetUnbanURL()}) beantragen")
$"Dann kannst du eine Entbannung beim [Entbannungsserver]({ModerationHelper.GetUnbanURL()}) beantragen")
.WithColor(DiscordColor.Red).Build();

await result.Result.Interaction.CreateResponseAsync(InteractionResponseType.DeferredMessageUpdate);
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Moderation/BanUserCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public async Task BanMember(CommandContext ctx, DiscordUser user, [RemainingText
.WithTitle($"Du wurdest von {ctx.Guild.Name} gebannt!")
.WithDescription($"**Begründung:**```{reason}```\n" +
$"**Du möchtest einen Entbannungsantrag stellen?**\n" +
$"Dann kannst du eine Entbannung beim [Entbannportal]({ModerationHelper.GetUnbanURL()}) beantragen")
$"Dann kannst du eine Entbannung beim [Entbannungsserver]({ModerationHelper.GetUnbanURL()}) beantragen")
.WithColor(DiscordColor.Red);

var embed = embedBuilder.Build();
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Moderation/MultiBanCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public async Task MultiBan(CommandContext ctx, [RemainingText] string ids_and_re
.WithTitle($"Du wurdest von {ctx.Guild.Name} gebannt!")
.WithDescription($"**Begründung:**```{reason}```\n" +
$"**Du möchtest einen Entbannungsantrag stellen?**\n" +
$"Dann kannst du eine Entbannung beim [Entbannportal]({ModerationHelper.GetUnbanURL()}) beantragen")
$"Dann kannst du eine Entbannung beim [Entbannungsserver]({ModerationHelper.GetUnbanURL()}) beantragen")
.WithColor(DiscordColor.Red);
var UserEmbed = embedBuilder.Build();
List<DiscordButtonComponent> buttons = new(2)
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Moderation/MultiBanRequestCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public async Task MultiBanRequest(CommandContext ctx, [RemainingText] string ids
.WithTitle($"Du wurdest von {ctx.Guild.Name} gebannt!").WithColor(DiscordColor.Red)
.WithDescription($"**Begründung:**```{reason}```\n" +
$"**Du möchtest einen Entbannungsantrag stellen?**\n" +
$"Dann kannst du eine Entbannung beim [Entbannportal]( {ModerationHelper.GetUnbanURL()} ) beantragenen");
$"Dann kannst du eine Entbannung beim [Entbannungsserver]( {ModerationHelper.GetUnbanURL()} ) beantragenen");
var banEmbed = banEmbedBuilder.Build();
var staffrole = ctx.Guild.GetRole(ulong.Parse(BotConfig.GetConfig()["ServerConfig"]["StaffRoleId"]));
var staffmembers = ctx.Guild.Members
Expand Down

0 comments on commit 1370c96

Please sign in to comment.