getGuildCommands method

List<CommandBuilder> getGuildCommands(
  1. Guild guild
)

Implementation

List<CommandBuilder> getGuildCommands (Guild guild) {
  return _commands.values.where((element) => element.scope?.mode == Scope.guild.mode || element.scope?.mode == guild.id).toList();
}