ApplicationCommand constructor

ApplicationCommand({
  1. String? id,
  2. ApplicationCommandType? type,
  3. String? applicationId,
  4. String? guildId,
  5. required String name,
  6. String? description,
  7. List<ApplicationCommandOption>? options,
  8. bool? defaultPermission,
  9. String? version,
})

Constructor

Implementation

ApplicationCommand({
  this.id,
  this.type,
  this.applicationId,
  this.guildId,
  required this.name,
  this.description,
  this.options,
  this.defaultPermission,
  this.version,
});