mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-02-17 08:20:50 +00:00
add P media type to product code checks
This commit is contained in:
parent
2b2af5725c
commit
9da9ee4274
@ -18,7 +18,7 @@ namespace CompatBot.EventHandlers
|
||||
internal static class ProductCodeLookup
|
||||
{
|
||||
// see http://www.psdevwiki.com/ps3/Productcode
|
||||
public static readonly Regex ProductCode = new Regex(@"(?<letters>(?:[BPSUVX][CL]|P[ETU]|NP)[AEHJKPUIX][ABJKLMQRS]|MRTC)[ \-]?(?<numbers>\d{5})", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
public static readonly Regex ProductCode = new Regex(@"(?<letters>(?:[BPSUVX][CL]|P[ETU]|NP)[AEHJKPUIX][ABJKLMPQRS]|MRTC)[ \-]?(?<numbers>\d{5})", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Client CompatClient = new Client();
|
||||
|
||||
public static async Task OnMessageCreated(MessageCreateEventArgs args)
|
||||
|
@ -417,6 +417,11 @@ namespace CompatBot.Utils
|
||||
result.Add("Miscellaneous software (manuals, etc)");
|
||||
break;
|
||||
}
|
||||
case 'P':
|
||||
{
|
||||
result.Add("Applications (dynamic themes, streaming services, etc)");
|
||||
break;
|
||||
}
|
||||
case 'Q':
|
||||
{
|
||||
result.Add("XMB Theme");
|
||||
|
Loading…
x
Reference in New Issue
Block a user