Fixed ~omdb search when plot is too long
This commit is contained in:
parent
4329cc2742
commit
628963f1a2
@ -40,7 +40,7 @@ namespace NadekoBot.Modules.Searches.Commands.OMDB
|
|||||||
new EmbedBuilder().WithOkColor()
|
new EmbedBuilder().WithOkColor()
|
||||||
.WithTitle(Title)
|
.WithTitle(Title)
|
||||||
.WithUrl($"http://www.imdb.com/title/{ImdbId}/")
|
.WithUrl($"http://www.imdb.com/title/{ImdbId}/")
|
||||||
.WithDescription(Plot)
|
.WithDescription(Plot.TrimTo(1000))
|
||||||
.AddField(efb => efb.WithName("Rating").WithValue(ImdbRating).WithIsInline(true))
|
.AddField(efb => efb.WithName("Rating").WithValue(ImdbRating).WithIsInline(true))
|
||||||
.AddField(efb => efb.WithName("Genre").WithValue(Genre).WithIsInline(true))
|
.AddField(efb => efb.WithName("Genre").WithValue(Genre).WithIsInline(true))
|
||||||
.AddField(efb => efb.WithName("Year").WithValue(Year).WithIsInline(true))
|
.AddField(efb => efb.WithName("Year").WithValue(Year).WithIsInline(true))
|
||||||
|
Loading…
Reference in New Issue
Block a user