Sign In

ForgeGiveaways Functions

Browse 30 native functions in ForgeGiveaways. Filter by category, version, and name.

$addRequiredRoles

Adds required roles to the current giveaway

managev1.0.0
$addRestrictedMembers

Adds restricted members to the current giveaway

managev1.0.0
$addRestrictedRoles

Adds restricted roles to the current giveaway

managev1.0.0
$deleteGiveaway

Deletes an existing giveaway from the database permanently, returns bool

databasev1.0.0→ Boolean
$editGiveaway

Edits an existing giveaway on a guild, returns bool

managev1.1.0→ Boolean
$endGiveaway

Ends an existing giveaway on a guild, returns bool

managev1.0.0→ Boolean
$getAllGiveaways

Gets all existing giveaways from the database

databasev1.0.0→ Json | Unknown[]
$getGiveaway

Gets an existing giveaway from the database

databasev1.0.0→ Json | Unknown
$giveawayChannelID

Returns the channel id of a giveaway

giveawayv1.0.0→ Channel
$giveawayDuration

Returns the duration of a giveaway in ms

giveawayv1.0.0→ Number
$giveawayEntries

Returns the entries of a giveaway

giveawayv1.0.0→ User[]
$giveawayExists

Returns whether a giveaway exists

giveawayv1.0.0→ Boolean
$giveawayGuildID

Returns the guild id of a giveaway

giveawayv1.0.0→ Guild
$giveawayHasEnded

Returns whether a giveaway has ended

giveawayv1.0.0→ Boolean
$giveawayHostID

Returns the host id of a giveaway

giveawayv1.0.0→ User
$giveawayID

Returns the id of the current giveaway

giveawayv1.0.0→ String
$giveawayMessageID

Returns the message id of a giveaway

giveawayv1.0.0→ Message
$giveawayPreviousWinners

Returns the previous winners of a giveaway

giveawayv1.1.0→ User[]
$giveawayPrize

Returns the prize of a giveaway

giveawayv1.0.0→ String
$giveawayRequiredRoles

Returns the required roles for a giveaway

giveawayv1.0.0→ Role[]
$giveawayRestrictedMembers

Returns the restricted members for a giveaway

giveawayv1.0.0→ Member[]
$giveawayRestrictedRoles

Returns the restricted roles for a giveaway

giveawayv1.0.0→ Role[]
$giveawayTimestamp

Returns the created timestamp of a giveaway in ms

giveawayv1.0.0→ Number
$giveawayWinners

Returns the winners of a giveaway

giveawayv1.0.0→ User[]
$giveawayWinnersCount

Returns the winners count of a giveaway

giveawayv1.0.0→ Number
$newGiveaway

Retrieves new data from an event whose context was a giveaway instance

statev1.0.0→ Json | Unknown
$oldGiveaway

Retrieves old data from an event whose context was a giveaway instance

statev1.0.0→ Json | Unknown
$rerollGiveaway

Rerolls an existing giveaway on a guild, returns bool

managev1.0.0→ Boolean
$startGiveaway

Starts a new giveaway on a guild, returns giveaway id

managev1.0.0→ String
$wipeGiveaways

Wipes all existing giveaways from the database permanently, use with caution

databasev1.0.0