Method WithType
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
WithType(Type)
Sets the type this builder will construct a module out of.
public CommandModuleBuilder WithType(Type t)
Parameters
t
TypeType to build a module out of. It has to derive from BaseCommandModule.
Returns
- CommandModuleBuilder
This builder.