C# Class Nekobot.Commands.CommandExtensions

ファイルを表示 Open project: Kusoneko/Nekobot

Public Methods

Method Description
Commands ( this client, bool required = true ) : Nekobot.Commands.CommandService
UsingCommands ( this client, CommandServiceConfig config = null, bool>.Func getNsfwFlag = null, bool>.Func getMusicFlag = null, Func getIgnoredChannelFlag = null ) : Discord.DiscordClient

Method Details

Commands() public static method

public static Commands ( this client, bool required = true ) : Nekobot.Commands.CommandService
client this
required bool
return Nekobot.Commands.CommandService

UsingCommands() public static method

public static UsingCommands ( this client, CommandServiceConfig config = null, bool>.Func getNsfwFlag = null, bool>.Func getMusicFlag = null, Func getIgnoredChannelFlag = null ) : Discord.DiscordClient
client this
config CommandServiceConfig
getNsfwFlag bool>.Func
getMusicFlag bool>.Func
getIgnoredChannelFlag Func
return Discord.DiscordClient