Skip to content

Commit

Permalink
Update Discord Token Validator again...
Browse files Browse the repository at this point in the history
  • Loading branch information
dassjosh committed Aug 25, 2022
1 parent fecb245 commit 484b0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oxide.Ext.Discord/DiscordClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class DiscordClient
{
internal static readonly Hash<string, DiscordClient> Clients = new Hash<string, DiscordClient>();

private static readonly Regex TokenValidator = new Regex(@"^[\w-]{24}\.[\w-]{6}\.[\w-]+$", RegexOptions.Compiled);
private static readonly Regex TokenValidator = new Regex(@"^[\w-]+\.[\w-]+\.[\w-]+$", RegexOptions.Compiled);

/// <summary>
/// Which plugin is the owner of this client
Expand Down

0 comments on commit 484b0f6

Please sign in to comment.