- 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

@@ -85,7 +85,7 @@ namespace NadekoBot.Modules.Utility
var text = SmartText.CreateFrom(quote.Text);
text = rep.Replace(text);
await ctx.Channel.SendAsync(_eb, $"`#{quote.Id}` 📣 " + text, true);
await ctx.Channel.SendAsync($"`#{quote.Id}` 📣 " + text, true);
}
[NadekoCommand, Aliases]
@@ -173,7 +173,7 @@ namespace NadekoBot.Modules.Utility
var text = SmartText.CreateFrom(quote.Text);
text = rep.Replace(text);
await ctx.Channel.SendAsync(_eb, infoText + text, true);
await ctx.Channel.SendAsync(infoText + text, true);
}
[NadekoCommand, Aliases]

View File

@@ -48,7 +48,7 @@ namespace NadekoBot.Modules.Utility
message = rep.Replace(message);
await channel.SendAsync(_eb, message, !((IGuildUser)Context.User).GuildPermissions.MentionEveryone);
await channel.SendAsync(message, !((IGuildUser)Context.User).GuildPermissions.MentionEveryone);
}
[NadekoCommand, Aliases]