Browse Source

Change to ICollection<CommandInfo>

pull/1037/head
Alex Gravely GitHub 7 years ago
parent
commit
c4f218f506
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/Extensions/CommandServiceExtensions.cs

+ 1
- 1
src/Discord.Net.Commands/Extensions/CommandServiceExtensions.cs View File

@@ -7,7 +7,7 @@ namespace Discord.Commands
{ {
public static class CommandServiceExtensions public static class CommandServiceExtensions
{ {
public static async Task<IReadOnlyCollection<CommandInfo>> GetExecutableCommandsAsync(this IEnumerable<CommandInfo> commands, ICommandContext context, IServiceProvider provider)
public static async Task<IReadOnlyCollection<CommandInfo>> GetExecutableCommandsAsync(this ICollection<CommandInfo> commands, ICommandContext context, IServiceProvider provider)
{ {
var executableCommands = new List<CommandInfo>(); var executableCommands = new List<CommandInfo>();




Loading…
Cancel
Save