UserCommandPermissionBuilder constructor

UserCommandPermissionBuilder(
  1. Snowflake id, {
  2. bool hasPermission = true,
})

A permission for a single user that can be used in SlashCommandBuilder

Implementation

UserCommandPermissionBuilder(Snowflake id, {bool hasPermission = true}) : super(id, hasPermission: hasPermission);