diff --git a/Module/ModTools/Commands/BanKick.cs b/Module/ModTools/Commands/BanKick.cs index 919a08f..2009926 100644 --- a/Module/ModTools/Commands/BanKick.cs +++ b/Module/ModTools/Commands/BanKick.cs @@ -163,7 +163,7 @@ namespace Noikoio.RegexBot.Module.ModTools.Commands var ch = await target.GetOrCreateDMChannelAsync(); string outresult = _notifyMsg; - outresult = outresult.Replace("$s", g.Name); + outresult = outresult.Replace("$s", target.Guild.Name); outresult = outresult.Replace("$r", reason ?? NotifyReasonNone); try {