Fix ban dms sending to mod. Closes #340

This commit is contained in:
Alan Beatty
2022-03-14 11:44:15 -05:00
parent f6ee012b15
commit aaf3c9cfe9

View File

@@ -478,7 +478,7 @@ public partial class Administration
var defaultMessage = GetText(strs.bandm(Format.Bold(ctx.Guild.Name), msg));
var embed = _service.GetBanUserDmEmbed(Context, user, defaultMessage, msg, null);
if (embed is not null)
await ctx.User.SendAsync(embed);
await user.SendAsync(embed);
}
catch
{