Browse Source

Make command handler private

pull/826/head
Hsu Still 8 years ago
parent
commit
fe3d8c38ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/commands/samples/command_handler.cs

+ 1
- 1
docs/guides/commands/samples/command_handler.cs View File

@@ -43,7 +43,7 @@ public class Program
await _commands.AddModulesAsync(Assembly.GetEntryAssembly());
}

public async Task HandleCommandAsync(SocketMessage messageParam)
private async Task HandleCommandAsync(SocketMessage messageParam)
{
// Don't process the command if it was a System Message
var message = messageParam as SocketUserMessage;


Loading…
Cancel
Save