seriously, discord, you need to chill

This commit is contained in:
13xforever 2018-07-25 17:46:45 +05:00 committed by Roberto Anić Banić
parent 7b4dbdfb5e
commit 710d902210
3 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CompatBot.Utils;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
@ -49,8 +50,8 @@ namespace CompatBot.Commands
Title = "RPCS3 Compatibility Bot",
Url = "https://github.com/RPCS3/discord-bot",
Description = "Made by:\n" +
"\tRoberto Anić Banić aka nicba1010\n" +
"\t13xforever",
"  Roberto Anić Banić aka nicba1010\n" +
"  13xforever".FixSpaces(),
Color = DiscordColor.Purple,
};
await ctx.RespondAsync(embed: embed.Build());

View File

@ -247,7 +247,5 @@ namespace CompatBot.Utils.ResultFormatters
var len = Math.Min(commitA.Length, CommitB.Length);
return commitA.Substring(0, len) == CommitB.Substring(0, len);
}
private static string FixSpaces(this string text) => text?.Replace(" ", " \u200d \u200d");
}
}

View File

@ -32,5 +32,7 @@ namespace CompatBot.Utils
}
return string.Create((int)buffer.Length, buffer, Splice);
}
public static string FixSpaces(this string text) => text?.Replace(" ", " \u200d \u200d");
}
}