mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 10:48:26 -04:00
- Reworked embed builder
- Use IEmbedBuilderService to create embed builders - Wrapped embed builder and using IEmbedBuilder
This commit is contained in:
@@ -117,12 +117,12 @@ namespace NadekoBot.Modules.Searches
|
||||
|
||||
if (elements.Count == 0)
|
||||
{
|
||||
return new EmbedBuilder()
|
||||
return _eb.Create()
|
||||
.WithDescription(GetText("streams_none"))
|
||||
.WithErrorColor();
|
||||
}
|
||||
|
||||
var eb = new EmbedBuilder()
|
||||
var eb = _eb.Create()
|
||||
.WithTitle(GetText("streams_follow_title"))
|
||||
.WithOkColor();
|
||||
for (var index = 0; index < elements.Count; index++)
|
||||
|
Reference in New Issue
Block a user