Browse Source

Fix Title string.

pull/2551/head
NaN GitHub 2 years ago
parent
commit
d0fc1dbe27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      src/Discord.Net.Analyzers/GuildAccessAnalyzer.cs

+ 0
- 7
src/Discord.Net.Analyzers/GuildAccessAnalyzer.cs View File

@@ -13,14 +13,7 @@ namespace Discord.Analyzers
public sealed class GuildAccessAnalyzer : DiagnosticAnalyzer
{
private const string DiagnosticId = "DNET0001";

/* Unmerged change from project 'Discord.Net.Analyzers(netstandard2.1)'
Before:
private const string Title = "Limit command to Guild contexts.";
After:
private const string Title = "Limit command to Guild contexts";
*/
private const string Title = "Limit command to Guild contexts";
private const string MessageFormat = "Command method '{0}' is accessing 'Context.Guild' but is not restricted to Guild contexts.";
private const string Description = "Accessing 'Context.Guild' in a command without limiting the command to run only in guilds.";
private const string Category = "API Usage";


Loading…
Cancel
Save