Sign In

ForgeScript Functions

Browse 1,124 native functions in ForgeScript. Filter by category, version, and name.

$abbreviateNumber

Abbreviates given number

numberv1.0.0→ String
$abs

Returns the absolute value of a number (the value without regard to whether it is positive or negative)

mathv1.0.1→ Number
$addActionRow

Adds an action row

componentv1.0.0
$addActionRowTo

Adds an action row (or rows) to a message

componentv1.5.0→ Boolean
$addApplicationEmoji

Adds an application emoji, returns the emoji id

emojiv1.5.0→ ApplicationEmoji
$addButton

Adds a button component to the newest row

componentv1.0.0
$addButtonTo

Adds a button component to the newest row in a message

componentv1.5.0→ Boolean
$addChannelPerms

Adds permission overwrites to a channel, returns bool

channelv1.0.3→ Boolean
$addChannelSelectMenu

Creates a channel select menu

componentv1.4.0
$addChannelSelectMenuTo

Creates a channel select menu on a message

componentv2.4.0→ Boolean
$addChannelType

Adds channel types to the last select menu

componentv1.4.0
$addCheckbox

Adds a new checkbox component to the newest modal label

componentv2.7.0
$addCheckboxGroup

Adds a new checkbox group component to the newest modal label

componentv2.7.0
$addCheckboxOption

Adds a new option to the newest checkbox group component

componentv2.7.0
$addChoice

Adds an autocomplete choice

componentv1.0.6
$addContainer

Adds a new container component

componentv2.4.0
$addDefaultChannelOption

Adds default channel options to the last select menu

componentv1.4.0
$addDefaultRoleOption

Adds default role options to the last select menu

componentv1.4.0
$addDefaultUserOption

Adds default user options to the last select menu

componentv1.4.0
$addEmoji

Adds an emoji to a guild, returns the emoji id

emojiv1.0.7→ GuildEmoji
$addField

Adds an embed field

embedv1.0.0
$addFile

Adds a new file component

componentv2.4.0
$addFileUpload

Adds a new file upload component to the newest modal label

componentv2.6.0
$addLabel

Adds a new label component to the modal

componentv2.6.0
$addMediaGallery

Adds a new media gallery component

componentv2.4.0
$addMediaItem

Adds a new media gallery item

componentv2.4.0
$addMentionableSelectMenu

Creates a mentionable select menu

componentv1.4.0
$addMentionableSelectMenuTo

Creates a mentionable select menu on a message

componentv1.5.0→ Boolean
$addMessageReactions

Adds reactions to a message, returns amount of emojis successfully reacted

messagev1.0.0→ Number
$addOption

Adds a select menu option

componentv1.0.0
$addPermissionOverwrite

Adds a new permission overwrite to the channel

channelv2.7.0
$addPostTags

Adds tags to a forum post, returns bool

channelv1.5.0→ Boolean
$addRadioGroup

Adds a new radio group component to the newest modal label

componentv2.7.0
$addRadioOption

Adds a new option to the newest radio group component

componentv2.7.0
$addRole

Adds a role to a guild, returns role id if success

rolev1.0.0→ Role
$addRoleSelectMenu

Creates a role select menu

componentv1.3.0
$addRoleSelectMenuTo

Creates a role select menu on a message

componentv1.5.0→ Boolean
$addSection

Adds a new section component

componentv2.4.0
$addSeparator

Adds a new separator component

componentv2.4.0
$addSticker

Adds a sticker to a guild, returns sticker id

stickerv1.0.0→ Sticker
$addStringSelectMenu

Creates a string select menu

componentv1.0.0
$addStringSelectMenuTo

Creates a string select menu on a message

componentv1.5.0→ Boolean
$addTextDisplay

Adds a new text display component

componentv2.4.0
$addTextInput

Adds a text input field to the modal

componentv1.0.0
$addThreadMember

Adds a member to a thread, returns bool

channelv1.0.0→ Boolean
$addThumbnail

Adds a new thumbnail accessory

componentv2.4.0
$addUserSelectMenu

Creates a user select menu

componentv1.4.0
$addUserSelectMenuTo

Creates a user select menu on a message

componentv1.5.0→ Boolean

Showing 48 of 1123 functions