Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
Master Kwoth committed May 5, 2016
1 parent 33e576d commit a2924dc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,21 @@ private string GetCustomsOnPage(int page)
{
return $"No items on page {page + 1}.";
}
var message = new StringBuilder($"```js\n --- Custom reactions - page {page + 1} ---\n");
var message = new StringBuilder($"--- Custom reactions - page {page + 1} ---\n");
foreach (var cr in items)
{
message.Append($"\"{ Format.Escape(cr.Key)}\"\n");
message.Append($"{ Format.Code(cr.Key)}\n");
int i = 1;
var last = cr.Value.Last();
foreach (var reaction in cr.Value)
{
if (last != reaction)
message.AppendLine(" ├" + i++ + "─" + reaction);
message.AppendLine(" `├" + i++ + "─`" + Format.Bold(reaction));
else
message.AppendLine(" └" + i++ + "─" + reaction);
message.AppendLine(" `└" + i++ + "─`" + Format.Bold(reaction));
}
}
return message.ToString() + "\n```";
return message.ToString() + "\n";
}
}
}
Expand Down

0 comments on commit a2924dc

Please sign in to comment.