.lcr will now indicate autodeleting and dming custom reactions with emojis before the id
This commit is contained in:
parent
0cc3102f2b
commit
c8179cdf2a
@ -188,7 +188,19 @@ namespace NadekoBot.Modules.CustomReactions
|
|||||||
.WithDescription(string.Join("\n", customReactions.OrderBy(cr => cr.Trigger)
|
.WithDescription(string.Join("\n", customReactions.OrderBy(cr => cr.Trigger)
|
||||||
.Skip((curPage - 1) * 20)
|
.Skip((curPage - 1) * 20)
|
||||||
.Take(20)
|
.Take(20)
|
||||||
.Select(cr => $"`#{cr.Id}` `{GetText("trigger")}:` {cr.Trigger}"))), lastPage)
|
.Select(cr =>
|
||||||
|
{
|
||||||
|
var str = $"`#{cr.Id}` {cr.Trigger}";
|
||||||
|
if (cr.AutoDeleteTrigger)
|
||||||
|
{
|
||||||
|
str = "🗑" + str;
|
||||||
|
}
|
||||||
|
if (cr.DmResponse)
|
||||||
|
{
|
||||||
|
str = "📪" + str;
|
||||||
|
}
|
||||||
|
return str;
|
||||||
|
}))), lastPage)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user