Fix compilation error

This commit is contained in:
Noikoio 2018-02-07 12:47:51 -08:00
parent cf6ec27e61
commit cc0ec364e6

View file

@ -163,7 +163,7 @@ namespace Noikoio.RegexBot.Module.ModTools.Commands
var ch = await target.GetOrCreateDMChannelAsync(); var ch = await target.GetOrCreateDMChannelAsync();
string outresult = _notifyMsg; string outresult = _notifyMsg;
outresult = outresult.Replace("$s", g.Name); outresult = outresult.Replace("$s", target.Guild.Name);
outresult = outresult.Replace("$r", reason ?? NotifyReasonNone); outresult = outresult.Replace("$r", reason ?? NotifyReasonNone);
try try
{ {