mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Cleaned up some unused/commented code
- Small amount of refactoring - Separated imagesharp extension to ImageSharpExtensions.cs - Using .join Ienumerable extension instead of string.join in some places
This commit is contained in:
@@ -84,8 +84,9 @@ public static class MessageChannelExtensions
|
||||
Func<T, string> howToPrint,
|
||||
int columns = 3)
|
||||
=> ch.SendMessageAsync($@"{seed}```css
|
||||
{string.Join("\n", items.Chunk(columns)
|
||||
.Select(ig => string.Concat(ig.Select(howToPrint))))}
|
||||
{items.Chunk(columns)
|
||||
.Select(ig => string.Concat(ig.Select(howToPrint)))
|
||||
.Join("\n")}
|
||||
```");
|
||||
|
||||
public static Task<IUserMessage> SendTableAsync<T>(
|
||||
|
Reference in New Issue
Block a user