toggle menu
kord-extensions
2.3.6-SNAPSHOT
jvm
switch theme
search in API
web-backend
/
dev.kordex.modules.web.core.backend.routes.utils
/
DenyBuilder
Deny
Builder
@
Serializable
class
DenyBuilder
:
KordExKoinComponent
Members
Constructors
Deny
Builder
Link copied to clipboard
constructor
(
)
Types
Entity
Info
Link copied to clipboard
@
Serializable
data
class
EntityInfo
(
val
id
:
Snowflake
,
val
name
:
String
?
)
Properties
missing
Guilds
Link copied to clipboard
var
missingGuilds
:
MutableList
<
DenyBuilder.EntityInfo
>
?
missing
Permissions
Link copied to clipboard
var
missingPermissions
:
Permissions
?
missing
Roles
Link copied to clipboard
var
missingRoles
:
MutableList
<
DenyBuilder.EntityInfo
>
?
reason
Key
Link copied to clipboard
var
reasonKey
:
String
?
reason
Placeholders
Link copied to clipboard
var
reasonPlaceholders
:
Array
<
String
>
Functions
get
Koin
Link copied to clipboard
open
override
fun
getKoin
(
)
:
Koin
missing
Guild
Link copied to clipboard
suspend
fun
missingGuild
(
id
:
Snowflake
)
fun
missingGuild
(
guild
:
Guild
)
missing
Permission
Link copied to clipboard
fun
missingPermission
(
perm
:
Permission
)
missing
Permissions
Link copied to clipboard
suspend
fun
missingPermissions
(
perms
:
Permissions
)
missing
Role
Link copied to clipboard
fun
missingRole
(
role
:
Role
)
suspend
fun
missingRole
(
guildId
:
Snowflake
,
id
:
Snowflake
)
reason
Link copied to clipboard
fun
reason
(
key
:
String
,
placeholders
:
Array
<
Any
>
=
arrayOf()
)