Browse Source

Clean up filterConfig.yml

+ New config exposes Discord.Net namespace since it has several common public exceptions that may be helpful to users
pull/988/head
Still Hsu 7 years ago
parent
commit
540e0f2047
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
2 changed files with 5 additions and 9 deletions
  1. +4
    -8
      docs/filterConfig.yml
  2. +1
    -1
      src/Discord.Net.Core/Net/RateLimitedException.cs

+ 4
- 8
docs/filterConfig.yml View File

@@ -1,11 +1,7 @@
apiRules:
- exclude:
uidRegex: ^Discord\.API$
uidRegex: ^Discord\.Net\..*$
type: Namespace
- exclude:
uidRegex: ^Discord\.API.*$
- exclude:
uidRegex: ^Discord\.Net\.Converters$
- exclude:
uidRegex: ^Discord\.Net.*$
- exclude:
uidRegex: ^RegexAnalyzer$
uidRegex: ^Discord\.Analyzers$
type: Namespace

+ 1
- 1
src/Discord.Net.Core/Net/RateLimitedException.cs View File

@@ -3,7 +3,7 @@ using System;
namespace Discord.Net
{
/// <summary>
/// An exception that indicates the user is being rate limited by Discord.
/// Describes an exception that indicates the user is being rate limited by Discord.
/// </summary>
public class RateLimitedException : TimeoutException
{


Loading…
Cancel
Save