mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-12 21:29:56 +00:00
seriously, discord, you need to chill
This commit is contained in:
parent
7b4dbdfb5e
commit
710d902210
@ -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());
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user