discord-botinator
Preparing search index...
CustomButton
Class CustomButton
Hierarchy (
View Summary
)
CustomButton
CustomLinkButton
Index
Constructors
constructor
Properties
custom
Id
label
on
Click
style
Methods
build
from
Constructors
constructor
new
CustomButton
(
label
:
string
,
style
:
ButtonStyle
,
onClick
:
(
msg
:
ButtonInteraction
,
button
:
CustomButton
,
page
:
Page
,
)
=>
void
|
Promise
<
void
>
,
)
:
CustomButton
Parameters
label
:
string
style
:
ButtonStyle
onClick
:
(
msg
:
ButtonInteraction
,
button
:
CustomButton
,
page
:
Page
,
)
=>
void
|
Promise
<
void
>
Returns
CustomButton
Properties
Readonly
custom
Id
customId
:
string
= ...
label
label
:
string
on
Click
onClick
:
(
msg
:
ButtonInteraction
,
button
:
CustomButton
,
page
:
Page
,
)
=>
void
|
Promise
<
void
>
style
style
:
ButtonStyle
Methods
build
build
()
:
ButtonBuilder
Returns
ButtonBuilder
Static
from
from
<
T
extends
Page
>
(
init
:
CustomButtonInitializer
<
T
>
)
:
CustomButton
Type Parameters
T
extends
Page
Parameters
init
:
CustomButtonInitializer
<
T
>
Returns
CustomButton
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
custom
Id
label
on
Click
style
Methods
build
from
src
pages
embedPager.ts
EmbedPager
bot.ts
Bot
DEBUG
LOG_CONFIG
navigation.ts
ChannelSelector
CustomButton
CustomLinkButton
ExtraElement
Navigation
Page
Selector
StringSelector
CustomButtonInitializer
SelectorTypes
command.ts
Command
CommandBuilderTypes
component.ts
Component
name
mapper.ts
DataMapper
logutils.ts
Loggable
supercommand.ts
SuperCommand
SuperCommandArg
SuperCommandRoute
cmd
numberParam
param
utils.ts
QuickButton
ButtonHelperCallback
InteractionSendable
SelectHelperCallback
SettingsArgType
StringSettingsArg
autocompleteOptions
buttonHelper
cancelSafeQuickModal
createCustomId
discordDiff
embedPager
escapeMarkdown
expandAndHandleEmbed
getFunctionArgs
getNextDayOfWeek
isValidUrl
quickActionRow
quickModal
quickMultiModal
selectHelper
settingsHelper
shorten
values