Closed samarmeena closed 1 year ago
Remove default values from decorators
reflect-metadata
emitDecoratorMetadata
@Slash
description
@SlashOption
name
type
required
false
I guess this is a good idea. One of the main premises of the Slash Command was to give good verbose as stated in their presentation.
Remove default values from decorators
Breaking Changes
reflect-metadata
/inference (emitDecoratorMetadata
from tsconfig, no longer required)@Slash
:description
field required in decorator@SlashOption
:description
,name
,type
fields required in decorator.required
default changed tofalse
as per discord api