- Fixed calls to SendAsync - they don't require EmbedBuilderService

- DmHelpText now uses smarttext and supports user-related placeholders
This commit is contained in:
Kwoth
2021-07-12 02:07:38 +02:00
parent b59c4064b1
commit 468bc5324d
7 changed files with 39 additions and 37 deletions

View File

@@ -469,7 +469,7 @@ namespace NadekoBot.Modules.Administration
return;
text = rep.Replace(text);
await ch.SendAsync(_eb, text, sanitizeAll: false);
await ch.SendAsync(text, sanitizeAll: false);
}
else if (ids[1].ToUpperInvariant().StartsWith("U:", StringComparison.InvariantCulture))
{
@@ -480,7 +480,7 @@ namespace NadekoBot.Modules.Administration
var ch = await user.GetOrCreateDMChannelAsync();
text = rep.Replace(text);
await ch.SendAsync(_eb, text);
await ch.SendAsync(text);
}
else
{