DisBot
Preparing search index...
modules/moderation/contextmenu/bancontext
default
Variable default
default
:
{
data
:
ContextMenuCommandBuilder
;
options
:
{
botPermissions
:
bigint
[]
;
cooldown
:
number
;
isGuildOwner
:
boolean
;
once
:
boolean
;
permission
:
PermissionType
;
userHasOnePermission
:
boolean
;
userPermissions
:
bigint
[]
;
}
;
execute
(
interaction
:
ContextMenuCommandInteraction
,
client
:
ExtendedClient
,
)
:
Promise
<
InteractionResponse
<
boolean
>
>
;
}
Type Declaration
data
:
ContextMenuCommandBuilder
options
:
{
botPermissions
:
bigint
[]
;
cooldown
:
number
;
isGuildOwner
:
boolean
;
once
:
boolean
;
permission
:
PermissionType
;
userHasOnePermission
:
boolean
;
userPermissions
:
bigint
[]
;
}
execute
:
function
execute
(
interaction
:
ContextMenuCommandInteraction
,
client
:
ExtendedClient
,
)
:
Promise
<
InteractionResponse
<
boolean
>
>
Parameters
interaction
:
ContextMenuCommandInteraction
client
:
ExtendedClient
Returns
Promise
<
InteractionResponse
<
boolean
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
DisBot
Loading...