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
No known key found for this signature in database
GPG Key ID: 8601A145FDA95209
2 changed files with
5 additions and
9 deletions
-
docs/filterConfig.yml
-
src/Discord.Net.Core/Net/RateLimitedException.cs
|
|
@@ -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 |
|
|
@@ -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 |
|
|
|
{ |
|
|
|