[{"name":"$advancedTextSplit","version":"1.4.0","description":"Split and get all at the same time multiple times","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to use","rest":false,"required":true,"type":"String"},{"name":"split;index","rest":true,"type":"String","required":true,"description":"The split followed by the index to get"}],"output":["String"],"category":"array"},{"name":"$arrayAdvancedSort","version":"1.4.0","description":"Advanced array sort","unwrap":false,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"var1","description":"The $env variable 1 to hold x value","rest":false,"type":"String","required":true},{"name":"var2","description":"The $env variable 2 to hold y value","rest":false,"type":"String","required":true},{"name":"code","description":"Optional code to use for sorting, previous 2 vars must have been given","rest":false,"type":"String","required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayAt","version":"1.0.0","description":"Returns the element at given index","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"index","type":"Number","description":"The index to get the element of","rest":false,"required":true}],"output":["Unknown"],"category":"array"},{"name":"$arrayClear","version":"1.0.0","description":"Clears all elements from an array","unwrap":true,"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayConcat","version":"1.0.0","description":"Concat arrays and load them into another variable","unwrap":true,"args":[{"name":"variable","description":"The variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"},{"name":"variables","description":"The variable names to concat","rest":true,"type":"String","required":true}],"output":["Json"],"brackets":true,"category":"array"},{"name":"$arrayCreate","version":"1.4.0","aliases":["$arrayNew","$arrayInit"],"brackets":true,"description":"Initializes an array and loads it to a variable","args":[{"name":"variable","description":"The variable to load it to, accessed with $env","type":"String","rest":false,"required":true},{"name":"length","description":"The default length of the array, defaults to 0","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"array"},{"name":"$arrayEvery","version":"1.0.0","description":"Loops through every element of the array with a condition that must pass every element","unwrap":false,"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"brackets":true,"category":"array"},{"name":"$arrayFill","version":"1.4.0","brackets":true,"description":"Fills an array with given value","args":[{"name":"variable","description":"The variable to load array from","type":"String","rest":false,"required":true},{"name":"value","description":"The value to fill the array with","rest":false,"required":true,"type":"Json"}],"unwrap":true,"category":"array"},{"name":"$arrayFindIndex","version":"1.0.0","description":"Finds the index of a first found element in the array","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayFindLastIndex","version":"1.5.0","description":"Finds the index of a last found element in the array","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayForEach","version":"1.0.0","description":"Loops through every element of the array","unwrap":false,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayIncludes","version":"1.0.0","description":"Checks whether a value exists in an array","unwrap":true,"output":["Boolean"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"value","description":"The value to check for","rest":false,"type":"String","required":true}],"brackets":true,"category":"array"},{"name":"$arrayIndexOf","version":"1.0.0","description":"Gets the index of a first found element in the array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"value","description":"The exact value to get its index","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayJoin","version":"1.0.0","description":"Joins all elements from an array with given separator","unwrap":true,"output":["Unknown[]"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every element","rest":false,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLastIndexOf","version":"1.5.0","description":"Gets the index of a last found element in the array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"value","description":"The exact value to get its last index","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLength","version":"1.0.0","description":"Returns the numbers of elements in an array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLoad","version":"1.0.0","description":"Loads an array to an environment variable","args":[{"name":"variable","description":"The variable name to load this array to","required":true,"rest":false,"type":"String"},{"name":"separator","description":"The separator to use for the array elements","rest":false,"type":"String","required":false},{"name":"values","description":"The elements of the array","rest":true,"type":"String"}],"unwrap":true,"brackets":true,"category":"array"},{"name":"$arrayMap","version":"1.0.0","description":"Maps through every element of the array and loads the results to another array","unwrap":false,"output":["Json"],"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The other variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPop","version":"1.0.0","description":"Deletes the last element of the array and returns it","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPush","version":"1.0.0","description":"Appends an element to an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the end of the array","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPushJSON","version":"1.3.0","description":"Appends an element to an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the end of the array","rest":true,"required":true,"type":"Json"}],"brackets":true,"category":"array"},{"name":"$arrayRandomIndex","version":"1.4.0","description":"Returns a random index","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arrayRandomValue","version":"1.4.0","description":"Returns a random element","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arrayReduce","version":"1.0.0","description":"Reduces an array of elements and returns the result","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The other variable to load the second element to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element, must return a number","rest":false,"required":true,"type":"String"},{"name":"default value","description":"The default value, defaults to 0","rest":false,"type":"Number"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayReverse","version":"1.0.0","description":"Reverses an array and loads it to another variable","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable where the array is held","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","rest":false,"type":"String","required":false}],"output":["Json"],"category":"array"},{"name":"$arrayShift","version":"1.0.0","description":"Deletes the first element of the array and returns it","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayShuffle","version":"1.4.0","description":"Shuffles given array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arraySlice","version":"1.0.0","description":"Slices an array and loads it to another variable","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable where the array is held","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","rest":false,"type":"String","required":false},{"name":"start","description":"The start index to slice","rest":false,"required":true,"type":"Number"},{"name":"end","description":"The end index to slice","rest":false,"type":"Number"}],"output":["Json"],"category":"array"},{"name":"$arraySome","version":"1.0.0","description":"Loops through every element of the array to find a match","unwrap":false,"output":["Boolean"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arraySort","version":"1.2.0","description":"Sorts given array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"},{"name":"sort type","description":"The sort type, omit to use default sort order","rest":false,"type":"Enum","enum":["asc","desc"],"enumName":"SortType"}],"output":["Json"],"category":"array"},{"name":"$arraySplice","version":"1.0.0","description":"Removes x elements starting from y index, returns deleted elements","unwrap":true,"output":["Json"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"index","description":"The start index","rest":false,"required":true,"type":"Number"},{"name":"delete count","description":"The number of items to delete","required":true,"rest":false,"type":"Number"},{"name":"elements","description":"The elements to insert in the deleted indexes","rest":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayUnique","version":"2.5.0","description":"Removes duplicate elements from the array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayUnload","version":"1.0.0","description":"Unloads an array from an environment variable","args":[{"name":"variable","description":"The variable name to unload this array from","required":true,"rest":false,"type":"String"}],"unwrap":true,"brackets":true,"category":"array"},{"name":"$arrayUnshift","version":"1.0.0","description":"Adds elements to the beginning of an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the start of the array","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayUnshiftJSON","version":"1.3.0","description":"Adds elements to the beginning of an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the start of the array","rest":true,"required":true,"type":"Json"}],"brackets":true,"category":"array"},{"name":"$getSplitTextLength","version":"1.4.0","description":"Gets count of elements from $textSplit","aliases":["$getTextSplitLength"],"output":["Number"],"unwrap":false,"category":"array"},{"name":"$getTextSplitIndex","version":"2.5.0","description":"Gets the index of a textSplit element","aliases":["$getSplitTextIndex"],"brackets":true,"unwrap":true,"args":[{"name":"element","description":"The element to get index of","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$segmentTextSplit","version":"1.5.0","description":"Creates an array on given text using segmenter","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to split","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$splitText","version":"1.2.0","description":"Gets element of textSplit","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"index","description":"The index to get split at","rest":false,"required":true,"type":"Number"}],"category":"array"},{"name":"$splitTextJoin","version":"1.4.0","description":"Joins all elements from array with given separator","unwrap":true,"aliases":["$textSplitJoin"],"output":["Unknown[]"],"args":[{"name":"separator","description":"The separator to use for every element","rest":false,"type":"String","required":true}],"brackets":true,"category":"array"},{"name":"$textSplit","version":"1.2.0","description":"Creates an array on given text with a separator","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to split","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$fetchAuditLog","version":"1.4.0","description":"Fetches an audit log using the type of it","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"enumName":"AuditLogEvent"},{"name":"property","description":"The property to pull from the audit log","rest":false,"required":true,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"enumName":"AuditProperty"},{"name":"index","description":"The index of the entry to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use in case of array output","type":"String","rest":false}],"category":"audit"},{"name":"$fetchAuditLogCount","version":"1.4.0","description":"Fetches audit log count using the type of it","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"enumName":"AuditLogEvent"},{"name":"user","rest":false,"description":"The user to filter by","type":"User"}],"category":"audit"},{"name":"$fetchUserAuditLog","version":"1.4.0","description":"Fetches an audit log from a user using the type of it","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"user","rest":false,"description":"The user to filter by","type":"User"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"enumName":"AuditLogEvent"},{"name":"property","description":"The property to pull from the audit log","rest":false,"required":true,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"enumName":"AuditProperty"},{"name":"index","description":"The index of the entry to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use in case of array output","type":"String","rest":false}],"category":"audit"},{"name":"$setAuditLogReason","version":"2.5.0","description":"Sets the reason for audit log entries","brackets":true,"unwrap":true,"args":[{"name":"reason","description":"The reason to set","rest":false,"required":true,"type":"String"}],"category":"audit"},{"name":"$automodActionType","version":"1.2.0","description":"Returns the action type automod used","unwrap":false,"output":["AutoModerationActionType"],"category":"automod"},{"name":"$automodAlertSystemMessageID","version":"1.2.0","description":"Returns the message sent by automod","unwrap":false,"output":["Message"],"category":"automod"},{"name":"$automodChannelID","version":"1.2.0","description":"Returns the channel id for automod","unwrap":false,"output":["Channel"],"category":"automod"},{"name":"$automodContent","version":"1.2.0","description":"Returns the content automod acted upon","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodCustomMessage","version":"1.2.0","description":"Returns the custom message used by automod on this detection","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodDuration","version":"1.2.0","description":"Returns the duration in ms by this automod action","unwrap":false,"output":["Number"],"category":"automod"},{"name":"$automodMatchedContent","version":"1.2.0","description":"Returns the matched content automod acted upon","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodMatchedKeyword","version":"1.2.0","description":"Returns the matched keyword the automod caught","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodRuleID","version":"1.2.0","description":"Returns the rule id used by automod","unwrap":false,"output":["AutomodRule"],"category":"automod"},{"name":"$automodRuleTriggerType","version":"1.2.0","description":"Returns the rule trigger type used by automod","unwrap":false,"output":["AutoModerationRuleTriggerType"],"category":"automod"},{"name":"$createAutomodRule","version":"1.5.0","description":"Creates a new automod rule for a guild, returns rule id","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create automod rule on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name of the automod rule","rest":false,"required":true,"type":"String"},{"name":"trigger","description":"The trigger type of the automod rule","rest":false,"required":true,"type":"Enum","enum":["Keyword","Spam","KeywordPreset","MentionSpam","MemberProfile"],"enumName":"AutoModerationRuleTriggerType"},{"name":"event","description":"The event type of the automod rule","rest":false,"required":true,"type":"Enum","enum":["MessageSend","MemberUpdate"],"enumName":"AutoModerationRuleEventType"},{"name":"enabled","description":"Whether the automod rule should be enabled","rest":false,"required":false,"type":"Boolean"},{"name":"reason","description":"The reason for creating the automod rule","rest":false,"required":false,"type":"String"}],"output":["AutomodRule"],"category":"automod"},{"name":"$deleteAutomodRule","version":"1.5.0","description":"Deletes an automod rule from a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to delete automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to delete","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"reason","description":"The reason for deleting the rule","rest":false,"type":"String"}],"output":["Boolean"],"category":"automod"},{"name":"$editAutomodRule","version":"1.5.0","description":"Edits an automod rule on a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to edit automod rule on","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to edit","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"name","description":"The new name for the automod rule","rest":false,"type":"String"},{"name":"event","description":"The new event type for the automod rule","rest":false,"type":"Enum","enum":["MessageSend","MemberUpdate"],"enumName":"AutoModerationRuleEventType"},{"name":"enabled","description":"Whether the automod rule should be enabled","rest":false,"required":false,"type":"Boolean"},{"name":"reason","description":"The reason for editing the automod rule","rest":false,"required":false,"type":"String"}],"output":["Boolean"],"category":"automod"},{"name":"$getAutomodRule","version":"1.5.0","description":"Returns an automod rule of a guild","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to get automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to get","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"property","description":"The property of the automod rule to return","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown"],"category":"automod"},{"name":"$getAutomodRuleActions","version":"2.6.0","description":"Returns the actions of an automod rule from a guild","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to get automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to get its actions","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"property","description":"The property of each action to return","rest":false,"type":"Enum","enum":["type","channelID","durationSeconds","customMessage"],"enumName":"AutomodRuleActionProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"automod"},{"name":"$setAutomodAction","version":"1.5.0","description":"Sets a new action for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"type","description":"The type of the automod rule action","rest":false,"required":true,"type":"Enum","enum":["BlockMessage","SendAlertMessage","Timeout","BlockMemberInteraction"],"enumName":"AutoModerationActionType"},{"name":"channel ID","description":"The channel to which content will be logged","rest":false,"type":"Channel"},{"name":"duration","description":"The timeout duration in seconds","rest":false,"type":"Number"},{"name":"message","description":"The custom message that is shown whenever a message is blocked","rest":false,"type":"String"}],"category":"automod"},{"name":"$setAutomodAllowList","version":"1.5.0","description":"Sets allowed words for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"words","description":"The words to allow and whitelist","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodExemptChannels","version":"1.5.0","description":"Sets exempt channels for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"channels","description":"The channels that should not be affected by the automod rule","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodExemptRoles","version":"1.5.0","description":"Sets exempt roles for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"roles","description":"The roles that should not be affected by the automod rule","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodKeywordFilter","version":"1.5.0","description":"Sets disallowed words for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"words","description":"The words to disallow and blacklist","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodMentionRaidProtection","version":"1.5.0","description":"Sets mention raid protection for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"enabled","description":"Whether to enable mention raid protection","rest":false,"required":true,"type":"Boolean"}],"category":"automod"},{"name":"$setAutomodMentionTotalLimit","version":"1.5.0","description":"Sets a total mention limit for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"limit","description":"The limit of mentions to set","rest":false,"required":true,"type":"Number"}],"category":"automod"},{"name":"$setAutomodPresets","version":"1.5.0","description":"Sets preset keyword wordsets for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"presets","description":"The preset keyword types to set","rest":true,"required":true,"type":"Enum","enum":["Profanity","SexualContent","Slurs"],"enumName":"AutoModerationRuleKeywordPresetType"}],"category":"automod"},{"name":"$setAutomodRegexFilter","version":"1.5.0","description":"Sets regex filter for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"regexes","description":"The regexes to use for filtering","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$applicationCommandCount","version":"1.4.0","aliases":["$slashCommandCount"],"description":"Returns the amount of application commands registered by this bot","output":["Number"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get application command count from","rest":false,"type":"Guild"},{"name":"count sub","description":"Whether to count sub commands","rest":false,"type":"Boolean"}],"category":"bot"},{"name":"$applicationCommands","version":"1.5.0","description":"Returns all application commands","output":["Json"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get application commands from","rest":false,"required":true,"type":"Guild"}],"category":"bot"},{"name":"$botCount","version":"1.0.0","description":"Returns the bot count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botCustomInvite","version":"1.5.0","description":"Returns the client's custom invite link","unwrap":false,"aliases":["$clientCustomInvite"],"output":["URL"],"category":"bot"},{"name":"$botDescription","version":"1.5.0","aliases":["$clientDescription"],"description":"Returns the description of the bot","unwrap":false,"output":["String"],"category":"bot"},{"name":"$botDestroy","version":"1.0.0","aliases":["$clientDestroy"],"description":"Destroys the discord.js client","unwrap":false,"category":"bot"},{"name":"$botID","version":"1.0.0","description":"Returns the client's id","unwrap":false,"aliases":["$clientID"],"output":["User"],"category":"bot"},{"name":"$botInvite","version":"1.0.0","description":"Returns a bot's invite link","brackets":false,"unwrap":true,"aliases":["$clientInvite","$getBotInvite"],"args":[{"name":"perms","description":"The perms for the invite link","rest":true,"type":"String","required":true}],"output":["URL"],"category":"bot"},{"name":"$botMutualGuilds","version":"1.5.0","aliases":["$clientMutualGuilds"],"description":"Returns the client's mutual guilds with a user","unwrap":true,"args":[{"name":"user ID","description":"The user to get mutual guilds from","rest":false,"required":true,"type":"User"},{"name":"separator","description":"The separator to use for every guild","rest":false,"type":"String"}],"brackets":false,"output":["Guild[]"],"category":"bot"},{"name":"$botOwnerID","version":"1.0.0","description":"Returns the bot's owner id or team members","brackets":false,"aliases":["$clientOwnerID"],"args":[{"name":"return members","description":"Whether to return all members","rest":false,"required":false,"type":"Boolean"},{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"unwrap":true,"category":"bot"},{"name":"$botTags","version":"1.5.0","description":"Returns the client tags","unwrap":true,"aliases":["$clientTags"],"args":[{"name":"separator","description":"The separator to use for every tag","rest":false,"type":"String"}],"brackets":false,"output":["String[]"],"category":"bot"},{"name":"$botTeamCreatedAt","version":"2.4.0","description":"Returns the client's team creation timestamp","aliases":["$clientTeamCreatedAt"],"unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botTeamID","version":"2.4.0","description":"Returns the client's team id","aliases":["$clientTeamID"],"unwrap":false,"output":["String"],"category":"bot"},{"name":"$botTeamIcon","version":"2.4.0","description":"Returns the client's team icon","aliases":["$clientTeamIcon"],"unwrap":true,"brackets":false,"args":[{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"category":"bot"},{"name":"$botTeamMembers","version":"2.4.0","description":"Returns the client's team members","aliases":["$clientTeamMembers"],"unwrap":true,"brackets":false,"args":[{"name":"property","description":"The property of each team member to return","rest":false,"required":true,"type":"Enum","enum":["id","role","membership"],"enumName":"TeamMemberProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"bot"},{"name":"$botTeamName","version":"2.4.0","description":"Returns the client's team name","aliases":["$clientTeamName"],"unwrap":false,"output":["String"],"category":"bot"},{"name":"$botToken","version":"1.0.0","description":"Returns the client token","unwrap":false,"aliases":["$clientToken"],"output":["String"],"category":"bot"},{"name":"$botUserAuthorizationCount","version":"2.4.0","aliases":["$clientUserAuthorizationCount"],"description":"Returns the user authorization count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botUserInstallCount","version":"1.5.0","aliases":["$clientUserInstallCount"],"description":"Returns the user install count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botWebhookEvents","version":"2.2.0","description":"Returns the client webhook event types","aliases":["$clientWebhookEvents"],"unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every type","rest":false,"type":"String"}],"output":["ApplicationWebhookEventType[]"],"category":"bot"},{"name":"$botWebhookStatus","version":"2.2.0","description":"Returns the client webhook event status","unwrap":false,"aliases":["$clientWebhookStatus"],"output":["ApplicationWebhookEventStatus"],"category":"bot"},{"name":"$botWebhookURL","version":"2.2.0","description":"Returns the client webhook event url","unwrap":false,"aliases":["$clientWebhookURL"],"output":["URL"],"category":"bot"},{"name":"$deleteGlobalApplicationCommands","version":"2.3.0","description":"Deletes all global commands of your bot","unwrap":false,"output":["Boolean"],"category":"bot"},{"name":"$extensionVersion","version":"1.4.0","brackets":true,"unwrap":true,"description":"Returns the version an extension is running on","output":["String"],"args":[{"name":"name","description":"The extension name to retrieve its version","rest":false,"required":true,"type":"String"}],"category":"bot"},{"name":"$hasExtension","version":"1.2.0","description":"Checks whether client has an extension","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The extension name to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$ping","version":"1.0.0","description":"The current bot ping","unwrap":false,"aliases":["$clientPing","$botPing"],"output":["Number"],"category":"bot"},{"name":"$setBotAvatar","version":"1.0.0","description":"Sets the bot profile icon","brackets":true,"unwrap":true,"aliases":["$setClientAvatar"],"args":[{"name":"url","description":"The icon url","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotBanner","version":"1.5.0","description":"Sets the bot banner","brackets":true,"unwrap":true,"aliases":["$setClientBanner"],"args":[{"name":"url","description":"The banner url","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotDescription","version":"1.5.0","description":"Sets the bot description","aliases":["$setClientDescription"],"brackets":true,"unwrap":true,"args":[{"name":"description","description":"The new description","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildAvatar","version":"2.6.0","description":"Sets the bot avatar on a guild","brackets":true,"unwrap":true,"aliases":["$setClientGuildAvatar"],"args":[{"name":"guild ID","description":"The guild to set avatar on","rest":false,"required":true,"type":"Guild"},{"name":"url","description":"The icon url","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildBanner","version":"2.6.0","description":"Sets the bot banner on a guild","brackets":true,"unwrap":true,"aliases":["$setClientGuildBanner"],"args":[{"name":"guild ID","description":"The guild to set banner on","rest":false,"required":true,"type":"Guild"},{"name":"url","description":"The banner url","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildDescription","version":"2.6.0","description":"Sets the bot description on a guild","aliases":["$setBotGuildBio","$setClientGuildBio","$setClientGuildDescription"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to set description on","rest":false,"required":true,"type":"Guild"},{"name":"description","description":"The new description","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotName","version":"1.0.0","description":"Sets the bot name","brackets":true,"unwrap":true,"aliases":["$setClientName"],"args":[{"name":"name","description":"The new name","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotTags","version":"1.5.0","description":"Sets the bot tags","aliases":["$setClientTags"],"brackets":true,"unwrap":true,"args":[{"name":"tags","description":"The new tags","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setStatus","version":"1.0.0","description":"Sets the client's status","unwrap":true,"aliases":["$setBotStatus","$setClientStatus"],"args":[{"name":"presence","description":"The presence status","type":"String","rest":false,"required":true},{"name":"type","description":"The activity type","rest":false,"type":"Enum","enum":["Playing","Streaming","Listening","Watching","Custom","Competing"],"required":true,"enumName":"ActivityType"},{"name":"name","description":"The status name","rest":false,"type":"String","required":true},{"name":"state","description":"The status state","rest":false,"type":"String"},{"name":"url","description":"The url to use for the stream","rest":false,"type":"String"}],"brackets":true,"category":"bot"},{"name":"$shardCount","version":"2.1.0","aliases":["$botShardCount","$clientShardCount"],"description":"Returns the shard count of the client","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$shardID","version":"1.0.0","aliases":["$botShardIDs","$clientShardIDs"],"description":"Returns the shard id of the client","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["Number"],"category":"bot"},{"name":"$shardStatus","version":"2.1.0","aliases":["$botShardStatus","$clientShardStatus"],"description":"Returns the shard status of the client","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every status","rest":false,"type":"String"}],"output":["Status[]"],"category":"bot"},{"name":"$updateApplicationCommands","version":"1.2.0","description":"Updates application commands, also registers new ones","unwrap":false,"category":"bot"},{"name":"$updateCommands","version":"1.0.2","description":"Updates bot commands, also registers new ones","unwrap":false,"category":"bot"},{"name":"$uptime","version":"1.0.0","aliases":["$botUptime","$clientUptime"],"output":["Number"],"description":"Returns the bots uptime","unwrap":false,"category":"bot"},{"name":"$version","version":"1.0.0","description":"Returns the package version the client is using","unwrap":false,"output":["String"],"aliases":["$packageVersion"],"category":"bot"},{"name":"$bufferAlloc","version":"1.1.0","description":"Allocates given number of bytes in a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable to load it to, accessed with $env[]","rest":false,"required":true,"type":"String"},{"name":"bytes","description":"The number of bytes to alloc","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferAllocUnsafe","version":"1.1.0","description":"Unsafely allocates given number of bytes in a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable to load it to, accessed with $env[]","rest":false,"required":true,"type":"String"},{"name":"bytes","description":"The number of bytes to alloc","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferLength","version":"1.1.0","description":"Returns the length of a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false}],"output":["Number"],"category":"buffer"},{"name":"$bufferReadInt32","version":"1.2.0","description":"Reads int from a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start reading at","required":true,"type":"Number","rest":false}],"output":["Number"],"category":"buffer"},{"name":"$bufferReadUtf8","version":"1.1.0","description":"Reads utf8 string from a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start reading at","required":true,"type":"Number","rest":false},{"name":"end index","description":"The index to end reading at","required":false,"type":"Number","rest":false}],"output":["String"],"category":"buffer"},{"name":"$bufferResize","version":"1.1.0","description":"Resizes a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"length","description":"The new length for this buffer","required":true,"type":"Number","rest":false}],"category":"buffer"},{"name":"$bufferToString","version":"1.1.0","description":"Stringifies a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"encoding","description":"The encoding to stringify with","type":"String","rest":false}],"output":["String"],"category":"buffer"},{"name":"$bufferWriteInt32","version":"1.2.0","description":"Writes int32 to a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start writing on","required":true,"type":"Number","rest":false},{"name":"int","description":"The int to write","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferWriteUtf8","version":"1.1.0","description":"Writes utf8 string to a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start writing on","required":true,"type":"Number","rest":false},{"name":"text","description":"The text to write","type":"String","rest":false,"required":true}],"category":"buffer"},{"name":"$addChannelPerms","version":"1.0.3","description":"Adds permission overwrites to a channel, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to add perms to","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to add these perms to","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to add to the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"channel"},{"name":"$addPostTags","version":"1.5.0","description":"Adds tags to a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to edit tags on"},{"name":"reason","description":"The reason for adding post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$addThreadMember","version":"1.0.0","description":"Adds a member to a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The thread to add member to","rest":false,"required":true,"type":"Channel"},{"name":"user ID","pointer":0,"description":"The member to add","rest":false,"required":true,"type":"Member"}],"category":"channel"},{"name":"$archiveThread","version":"1.0.0","aliases":["$archivePost"],"description":"Archives a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to archive","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to archive this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelBitrate","version":"1.4.0","description":"Returns the bitrate of the voice channel","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelCategoryID","version":"1.0.0","description":"Returns the channel category id","aliases":["$channelParentID"],"unwrap":true,"brackets":false,"output":["Channel"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelChildrenCount","version":"1.0.3","description":"Returns the amount of children this category has","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"channel ID","description":"The category to get its child count","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelChildrenIDs","version":"1.0.3","description":"Returns the children ids this category has","brackets":false,"output":["Channel[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The category to get its children","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelCount","version":"1.0.0","description":"Returns the channel count of all servers","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"categories","description":"The categories to filter by","rest":true,"required":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"type":"Enum","enumName":"ChannelType"}],"category":"channel"},{"name":"$channelCreatedAt","version":"1.0.0","description":"Returns the channel timestamp","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelDeletable","version":"2.4.0","description":"Returns whether the channel is deletable","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["Boolean"],"category":"channel"},{"name":"$channelExists","version":"1.0.0","description":"Returns whether a channel id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to check","rest":false,"required":true,"type":"String"}],"category":"channel"},{"name":"$channelFlags","version":"1.5.0","description":"Returns the flags of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["ChannelFlags[]"],"category":"channel"},{"name":"$channelFull","version":"1.4.0","description":"Returns whether the voice channel is full","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelGuildID","version":"1.0.0","description":"Returns the channel guild id","unwrap":true,"output":["Guild"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelHasAnyPerms","version":"1.4.0","aliases":["$channelHasAnyPerm"],"description":"Returns whether role or member has any of the perms in a channel","output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"permissions","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"brackets":true,"category":"channel"},{"name":"$channelHasPerms","version":"1.4.0","description":"Returns whether role or member has perms in a channel","output":["Boolean"],"aliases":["$hasChannelPerm","$hasChannelPerms"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"permissions","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"brackets":true,"category":"channel"},{"name":"$channelID","version":"1.0.0","description":"Gets the channel id of a channel name","unwrap":true,"output":["Channel"],"brackets":false,"args":[{"name":"name","description":"The channel name to get its id","required":true,"rest":true,"type":"String"}],"category":"channel"},{"name":"$channelIDs","version":"1.3.0","unwrap":true,"brackets":false,"output":["Channel[]"],"description":"Returns every channel id","args":[{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelIsChildrenOf","version":"1.5.0","aliases":["$isChildrenOf"],"description":"Checks whether given channel is a children of a category","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to know if is children of category","rest":false,"type":"Channel","required":true},{"name":"category ID","description":"The category to check against","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelJoinable","version":"1.4.0","description":"Returns whether the voice channel is joinable by the bot","unwrap":true,"output":["Boolean"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelManageable","version":"2.4.0","description":"Returns whether the channel is manageable","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["Boolean"],"category":"channel"},{"name":"$channelMembers","version":"1.5.0","description":"Returns the members of a channel","unwrap":true,"output":["Member[]"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel to get its members","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelNSFW","version":"1.0.0","description":"Returns whether the channel is nsfw","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelName","version":"1.0.0","description":"Returns the channel name","unwrap":true,"output":["String"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelNames","version":"1.0.0","description":"Returns the channel names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the channels of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each channel","rest":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$channelPermissions","version":"1.5.0","description":"Returns all permission overwrites of a channel","aliases":["$channelPerms","$channelOverwrites"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"property","description":"The property of the overwrites to return","rest":false,"required":true,"type":"Enum","enum":["id","type","allow","deny"],"enumName":"PermissionOverwritesProperty"},{"name":"separator","description":"The separator to use for every overwrite","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"channel"},{"name":"$channelPermissionsFor","version":"1.4.0","description":"Returns permissions for a role or member in a channel","aliases":["$channelPermsFor","$memberChannelPerms","$roleChannelPerms"],"output":["PermissionFlagsBits[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms for","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every perm","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$channelPermissionsOf","version":"1.5.0","description":"Returns specific permissions of a role or member in a channel","aliases":["$channelPermsOf"],"output":["PermissionFlagsBits[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"state","description":"The state of the perms to return","rest":false,"required":true,"type":"Enum","enum":["allow","deny"],"enumName":"PermissionsStateType"},{"name":"separator","description":"The separator to use for every perm","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$channelPinnedMessages","version":"1.5.0","description":"Returns the pinned messages of a channel","brackets":false,"aliases":["$pinnedMessages"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull pinned messages from","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for each message id","rest":false,"type":"String"}],"output":["Message[]"],"category":"channel"},{"name":"$channelPosition","version":"1.0.3","description":"Returns the channel position","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel to get its position","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelRawData","version":"1.5.0","description":"Returns the raw data of a channel","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get raw data from","type":"Channel"}],"output":["Json"],"category":"channel"},{"name":"$channelSlowmode","version":"1.5.0","description":"Returns the channel slowmode in seconds","unwrap":true,"output":["Number"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel to get its slowmode","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$channelTags","version":"1.0.3","description":"Retrieves tags from a forum thread","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to get tags of","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for every tag","rest":false,"type":"String"}],"output":["ForumTag[]"],"category":"channel"},{"name":"$channelThreadIDs","version":"2.5.0","description":"Returns the thread ids of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get its threads","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every thread","rest":false,"type":"String"}],"output":["Channel[]"],"category":"channel"},{"name":"$channelTopic","version":"1.0.0","description":"Returns the channel topic","unwrap":true,"output":["String"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelType","version":"1.0.0","description":"Returns the channel type","unwrap":true,"output":["ChannelType"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelURL","version":"2.4.0","description":"Returns the url of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["URL"],"category":"channel"},{"name":"$channelUserLimit","version":"1.4.0","description":"Returns the user limit of the voice channel","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelVoiceMemberCount","version":"1.4.0","description":"Returns the member count that are connected to this voice channel","unwrap":true,"aliases":["$channelMemberCount"],"output":["Number"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelVoiceMemberIDs","version":"1.4.0","description":"Returns the members that are connected to this voice channel","unwrap":true,"aliases":["$channelMemberIDs"],"output":["Member[]"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true},{"name":"separator","rest":false,"description":"Separator to use for every id","required":false,"type":"String"}],"category":"channel"},{"name":"$channelVoiceRegion","version":"1.5.0","description":"Returns the region of a voice channel","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to get its region","rest":false,"required":true,"type":"Channel"}],"output":["VoiceRegionType"],"category":"channel"},{"name":"$channelWebhooks","version":"2.3.0","description":"Returns all webhooks of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get its webhooks","rest":false,"type":"Channel","required":true},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"channel"},{"name":"$clearChannelPerms","version":"1.0.3","description":"Deletes all permission overwrites from the channel or given id, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to delete perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to delete all perms for","rest":false,"required":false,"type":"String"}],"category":"channel"},{"name":"$clearMessages","version":"1.0.0","description":"Clears x amount of messages from a channel, returns the number of messages deleted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to clear messages on","required":true,"rest":false,"type":"Channel"},{"name":"amount","description":"The amount of messages to delete","rest":false,"required":true,"type":"Number"},{"name":"delete pinned","description":"Whether to delete pinned messages","rest":false,"type":"Boolean"},{"name":"delete bots","description":"Whether to delete messages of bots","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$clearUserMessages","version":"1.0.0","description":"Clears x amount of messages from a channel of given user, returns the number of messages deleted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to clear messages on","required":true,"rest":false,"type":"Channel"},{"name":"user ID","description":"The user to delete their messages","required":true,"rest":false,"type":"User"},{"name":"amount","description":"The amount of messages to delete","rest":false,"required":true,"type":"Number"},{"name":"delete pinned","description":"Whether to delete pinned messages","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$cloneChannel","version":"1.4.0","description":"Clones the given channel","brackets":true,"output":["Channel"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clone","type":"Channel","rest":false,"required":true},{"name":"name","description":"The name for the cloned channel","type":"String","rest":false}],"category":"channel"},{"name":"$cloneChannelPerms","version":"1.5.0","description":"Clones the given channel's perms to another channel, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clone its perms","type":"Channel","rest":false,"required":true},{"name":"channel ID","description":"The other channel to set new perms for","type":"Channel","rest":false,"required":true}],"output":["Boolean"],"category":"channel"},{"name":"$createChannel","version":"1.0.0","description":"Creates a channel in a guild, returns the channel id","unwrap":true,"brackets":true,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to create this channel on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the channel","rest":false,"required":true,"type":"String"},{"name":"type","description":"The type of the channel, some are not supported","rest":false,"type":"Enum","enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"enumName":"ChannelType"},{"name":"topic","description":"The topic for the channel","rest":false,"type":"String"},{"name":"parent ID","description":"The parent id for the channel","rest":false,"type":"Channel","pointer":0}],"category":"channel"},{"name":"$createForumPost","version":"1.0.0","description":"Creates a forum post, returns the post channel id","unwrap":true,"output":["Channel"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The channel to create a post on"},{"name":"title","description":"The post title","rest":false,"required":true,"type":"String"},{"name":"description","description":"The post description","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$createForumTag","version":"2.5.0","description":"Creates a forum tag, returns tag id","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to create tag on","rest":false,"required":true,"type":"Channel"},{"name":"name","description":"The name for the tag","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji for the tag","rest":false,"type":"String"},{"name":"moderated","description":"Whether the tag can only be applied by mods","rest":false,"type":"Boolean"}],"output":["ForumTag"],"category":"channel"},{"name":"$createInvite","version":"1.1.0","brackets":true,"description":"Creates an invite, returns the invite code","unwrap":true,"output":["Invite"],"args":[{"name":"channel ID","description":"The channel to make the invite for","rest":false,"required":true,"type":"Channel"},{"name":"max uses","description":"The max amount of uses for this invite","rest":false,"type":"Number"},{"name":"max age","description":"The max age for this invite","rest":false,"type":"Number"},{"name":"reason","description":"The reason for creating this invite","rest":false,"type":"String"}],"category":"channel"},{"name":"$createStageInstance","version":"2.3.0","description":"Creates a new stage instance, returns instance id","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to create stage instance on","rest":false,"required":true,"type":"Channel"},{"name":"topic","description":"The topic of the stage instance","rest":false,"required":true,"type":"String"},{"name":"privacy level","description":"The privacy level of the stage instance","rest":false,"type":"Enum","enum":["Public","GuildOnly"],"enumName":"StageInstancePrivacyLevel"},{"name":"notify","description":"Whether to notify @everyone that the stage instance has started","rest":false,"type":"Boolean"},{"name":"event ID","description":"The scheduled event associated with the stage instance","rest":false,"type":"ScheduledEvent","pointer":0,"pointerProperty":"guild"}],"output":["StageInstance"],"category":"channel"},{"name":"$createThread","version":"1.0.3","description":"Creates a thread, returns thread channel id on success","unwrap":true,"output":["Channel"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to create the thread at","rest":false,"type":"Channel"},{"name":"name","description":"The name for the thread","rest":false,"type":"String","required":true},{"name":"message ID","description":"The message to start thread for","rest":false,"pointer":0,"type":"Message"},{"name":"private","description":"Whether this thread is private","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for creating thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$deleteChannelPerms","version":"1.0.3","description":"Deletes some permission overwrites from a channel, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clear perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to clear these perms for","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to clear from the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$deleteChannels","version":"1.0.5","description":"Deletes given channels, returns the count of channels deleted","aliases":["$deleteChannel"],"brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"channels","description":"The channels to delete","rest":true,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$deleteForumTags","version":"2.5.0","description":"Deletes tags from a forum, returns bool","aliases":["$deleteForumTag"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to delete tags from","rest":false,"required":true,"type":"Channel"},{"name":"tags","description":"The tags to delete","rest":true,"required":true,"type":"ForumTag","pointer":0}],"output":["Boolean"],"category":"channel"},{"name":"$deleteStageInstance","version":"2.3.0","description":"Deletes a stage instance, returns bool","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to delete","rest":false,"required":true,"type":"StageInstance"}],"output":["Boolean"],"category":"channel"},{"name":"$deleteThread","version":"1.5.0","description":"Deletes a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to delete","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to delete this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$dmChannelID","version":"1.0.0","description":"Returns the dm channel id of a user","brackets":false,"output":["Channel"],"unwrap":true,"args":[{"name":"user ID","description":"User to get the dm channel","rest":false,"required":true,"type":"User"}],"category":"channel"},{"name":"$editForumTag","version":"2.5.0","description":"Edits an existing forum tag, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to edit tag on","rest":false,"required":true,"type":"Channel"},{"name":"tag ID","description":"The tag to edit","rest":false,"required":true,"type":"ForumTag","pointer":0},{"name":"name","description":"The new name for the tag","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for the tag","rest":false,"type":"String"},{"name":"moderated","description":"Whether the tag can only be applied by mods","rest":false,"type":"Boolean"}],"output":["Boolean"],"category":"channel"},{"name":"$editStageInstance","version":"2.3.0","description":"Edits a stage instance, returns bool","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to edit","rest":false,"required":true,"type":"StageInstance"},{"name":"topic","description":"The new topic of the stage instance","rest":false,"type":"String"},{"name":"privacy level","description":"The new privacy level of the stage instance","rest":false,"type":"Enum","enum":["Public","GuildOnly"],"enumName":"StageInstancePrivacyLevel"}],"output":["Boolean"],"category":"channel"},{"name":"$fetchChannels","version":"2.2.0","description":"Caches all channels of a guild","aliases":["$fetchChannel"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache channels of","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The channel to fetch","rest":false,"type":"Channel","pointer":0}],"category":"channel"},{"name":"$fetchThreads","version":"2.5.0","description":"Caches all threads of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to cache its threads","rest":false,"type":"Channel","required":true},{"name":"archived","description":"Whether to cache archived threads, otherwise active","rest":false,"type":"Boolean"},{"name":"private","description":"Whether to cache archived private threads, otherwise public","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$firstMessageID","version":"1.5.0","description":"Returns the first message sent in a channel","brackets":false,"aliases":["$channelFirstMessageID"],"unwrap":true,"output":["Message"],"args":[{"name":"channel ID","description":"The channel to pull first message from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$followChannel","version":"2.3.0","description":"Follows given announcement channel, returns webhook id","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to follow","type":"Channel","rest":false,"required":true},{"name":"channel ID","description":"The channel to crosspost messages in","type":"Channel","rest":false,"required":true},{"name":"reason","description":"The reason for following the channel","type":"String","rest":false}],"output":["Webhook"],"category":"channel"},{"name":"$forumDefaultLayout","version":"2.2.0","description":"Returns the default layout of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default layout from","rest":false,"type":"Channel","required":true}],"output":["ForumLayoutType"],"category":"channel"},{"name":"$forumDefaultReactionEmoji","version":"2.2.0","description":"Returns the default reaction emoji of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default reaction emoji from","rest":false,"type":"Channel","required":true}],"output":["String"],"category":"channel"},{"name":"$forumDefaultSortOrder","version":"2.2.0","description":"Returns the default sort order of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default sort order from","rest":false,"type":"Channel","required":true}],"output":["SortOrderType"],"category":"channel"},{"name":"$forumDefaultThreadArchiveDuration","version":"2.2.0","description":"Returns the default auto archive duration for threads of a forum","aliases":["$forumDefaultThreadAutoArchiveDuration"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default sort order from","rest":false,"type":"Channel","required":true}],"output":["ThreadAutoArchiveDuration"],"category":"channel"},{"name":"$forumDefaultThreadSlowmode","version":"2.2.0","description":"Returns the default slowmode for threads of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default slowmode from","rest":false,"type":"Channel","required":true}],"output":["Number"],"category":"channel"},{"name":"$forumTags","version":"1.5.0","description":"Returns all available tags of a forum","unwrap":true,"output":["Json","Unknown[]"],"args":[{"name":"channel ID","description":"The channel to get tags of","rest":false,"type":"Channel","required":true},{"name":"property","description":"The property to return for every tag","rest":false,"type":"Enum","enum":["emoji","id","moderated","name"],"enumName":"ForumTagProperty"},{"name":"separator","description":"The separator to use for every tag property","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$getStageInstance","version":"2.3.0","description":"Returns a stage instance of a guild","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to get","rest":false,"required":true,"type":"StageInstance"},{"name":"property","description":"The property of the stage instance to return","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"enumName":"StageProperty"}],"output":["Json","Unknown"],"category":"channel"},{"name":"$getThreadMembers","version":"1.0.0","description":"Gets thread members","brackets":true,"output":["Member[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The thread to pull members from","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator for every id","rest":false,"type":"String"}],"category":"channel"},{"name":"$guildChannelID","version":"1.4.0","description":"Gets the guild channel id of a channel name","unwrap":true,"output":["Channel"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to use","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The channel name to get its id","required":true,"rest":false,"type":"String"}],"category":"channel"},{"name":"$lastMessageID","version":"1.2.0","brackets":false,"aliases":["$channelLastMessageID"],"unwrap":true,"output":["Message"],"description":"Returns the latest message sent in a channel","args":[{"name":"channel ID","description":"The channel to pull last message from","rest":false,"required":true,"type":"Channel"},{"name":"user ID","description":"The user id to get its last message sent","rest":false,"required":false,"type":"User"}],"category":"channel"},{"name":"$lastPinTimestamp","version":"1.5.0","aliases":["$channelLastPinTimestamp"],"unwrap":true,"brackets":false,"output":["Number"],"description":"Returns the latest pin timestamp of a channel","args":[{"name":"channel ID","description":"The channel to pull last pin from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$lockThread","version":"1.5.0","aliases":["$lockPost"],"description":"Locks a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to lock","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to lock this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$modifyChannelPerms","version":"1.4.0","description":"Modifies given channel perms for a role or user","aliases":["$editChannelPerms"],"unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The channel to modify perms for"},{"name":"roleOrUser","description":"The role or user to modify perms for","rest":false,"required":true,"pointer":0,"pointerProperty":"guild","type":"RoleOrUser"},{"name":"perms","rest":true,"required":true,"type":"OverwritePermission","description":"The permissions to allow, nullify or disallow, (+,/,-)Perm","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$modifyPostTags","version":"1.5.0","aliases":["$editPostTags"],"description":"Modifies tags of a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to edit tags on"},{"name":"reason","description":"The reason for modifying post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$randomChannelID","version":"1.0.3","description":"Returns a random channel ID","unwrap":true,"brackets":false,"args":[{"name":"types","description":"The channel types to get an id from","type":"Enum","rest":true,"required":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"enumName":"ChannelType"}],"output":["Channel"],"category":"channel"},{"name":"$randomGuildChannelID","version":"1.0.3","description":"Returns a random channel ID of a guild","unwrap":true,"brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to get channel from","rest":false,"required":true,"type":"Guild"},{"name":"types","description":"The channel types to get an id from","type":"Enum","rest":true,"required":false,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"enumName":"ChannelType"}],"category":"channel"},{"name":"$removeChannelPerms","version":"1.0.3","description":"Removes permission overwrites from a channel, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to remove perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to remove these perms from","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to remove from the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$removeThreadMember","version":"1.0.0","description":"Removes a member from a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The thread to remove member from","rest":false,"required":true,"type":"Channel"},{"name":"user ID","pointer":0,"description":"The member to remove","rest":false,"required":true,"type":"Member"}],"category":"channel"},{"name":"$sendMessage","aliases":["$channelSendMessage"],"version":"1.0.0","description":"Sends a message to a channel","unwrap":true,"output":["Message"],"args":[{"name":"channel ID","description":"The channel to send this message to","required":true,"type":"Channel","rest":false},{"name":"content","description":"The content for the message","type":"String","rest":false},{"name":"return message ID","description":"Whether to return the message id of the newly sent message","rest":false,"type":"Boolean"}],"brackets":true,"category":"channel"},{"name":"$setChannelArchiveDuration","version":"1.5.0","description":"Modifies a channel's archive duration","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","type":"Channel","description":"The channel to modify","rest":false,"required":true},{"name":"duration","description":"The new duration of archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setChannelCategory","version":"1.5.0","aliases":["$setChannelParent"],"description":"Sets a channel's category, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its category","rest":false,"type":"Channel","required":true},{"name":"category ID","description":"The category to set","rest":false,"type":"Channel"}],"category":"channel"},{"name":"$setChannelNSFW","version":"1.0.0","description":"Sets a channel nsfw state, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its nsfw state","rest":false,"type":"Channel","required":true},{"name":"state","description":"The state to set","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$setChannelName","version":"1.0.0","description":"Sets a channel name, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its name","rest":false,"type":"Channel","required":true},{"name":"name","description":"The name to set","rest":false,"required":true,"type":"String"}],"category":"channel"},{"name":"$setChannelSlowmode","version":"1.0.0","description":"Sets a channel slowmode, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its nsfw state","rest":false,"type":"Channel","required":true},{"name":"seconds","description":"The number of seconds per message","rest":false,"type":"Number"}],"category":"channel"},{"name":"$setChannelTopic","version":"1.0.0","description":"Sets a channel topic, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its topic","rest":false,"type":"Channel","required":true},{"name":"topic","description":"The topic to set","rest":false,"type":"String"}],"category":"channel"},{"name":"$setDefaultForumLayout","version":"2.2.0","description":"Sets a forum's default layout of posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"layout","description":"The new default layout","rest":false,"required":true,"type":"Enum","enum":["NotSet","ListView","GalleryView"],"enumName":"ForumLayoutType"},{"name":"reason","description":"The reason for modifying default layout","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultReactionEmoji","version":"2.2.0","description":"Sets a forum's default reaction emoji for posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"emoji","description":"The new default reaction emoji","rest":false,"type":"String"},{"name":"reason","description":"The reason for modifying default emoji","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultSortOrder","version":"2.2.0","description":"Sets a forum's default sort order of posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"layout","description":"The new default sort order, leave empty to reset","rest":false,"type":"Enum","enum":["LatestActivity","CreationDate"],"enumName":"SortOrderType"},{"name":"reason","description":"The reason for modifying default sort order","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultThreadArchiveDuration","version":"1.5.0","description":"Sets a forum's default auto archive duration of posts","unwrap":true,"output":["Boolean"],"aliases":["$setDefaultThreadAutoArchiveDuration"],"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","type":"Channel","rest":false,"required":true},{"name":"duration","description":"The new duration of auto archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setDefaultThreadSlowmode","version":"2.2.0","description":"Sets a forum's default slowmode for posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"seconds","description":"The new default slowmode","rest":false,"required":true,"type":"Number"},{"name":"reason","description":"The reason for modifying default slowmode","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setPostTags","version":"2.5.0","description":"Sets tags to a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to set tags on"},{"name":"reason","description":"The reason for setting post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$setThreadArchiveDuration","version":"1.5.0","description":"Sets a thread's auto archive duration","unwrap":true,"output":["Boolean"],"aliases":["$setThreadAutoArchiveDuration"],"brackets":true,"args":[{"name":"channel ID","description":"The thread to modify","type":"Channel","rest":false,"required":true},{"name":"duration","description":"The new duration of auto archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setVoiceBitrate","version":"1.4.0","description":"Sets the bitrate quality of a voice channel, returns bool","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit bitrate","rest":false,"required":true,"type":"Channel"},{"name":"bitrate","rest":false,"type":"Number","required":true,"description":"The new bitrate"},{"name":"reason","description":"The reason to change the bitrate","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceDeaf","version":"1.4.0","description":"Deafens a member from voice channel","brackets":true,"aliases":["$voiceDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to deafen"},{"name":"reason","description":"The reason to deafen this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceMute","version":"1.4.0","description":"Mutes a member from voice channel","brackets":true,"aliases":["$voiceMute"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to mute"},{"name":"reason","description":"The reason to mute this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceRegion","version":"1.5.0","description":"Sets the region of a voice channel, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to set region","rest":false,"required":true,"type":"Channel"},{"name":"region","description":"The region to set, leave empty to remove a fixed region","rest":false,"required":false,"type":"Enum","enum":["brazil","hongkong","india","japan","rotterdam","russia","singapore","south-korea","southafrica","sydney","us-central","us-east","us-south","us-west"],"enumName":"VoiceRegionType"},{"name":"reason","description":"The reason to set the voice region","rest":false,"required":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setVoiceUndeaf","version":"1.4.0","description":"Undeafens a member from voice channel","brackets":true,"aliases":["$voiceUndeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to undeafen"},{"name":"reason","description":"The reason to undeafen this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceUnmute","version":"1.4.0","description":"Unmutes a member from voice channel","brackets":true,"aliases":["$voiceUnmute"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to unmute"},{"name":"reason","description":"The reason to unmute this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceUserLimit","version":"1.4.0","description":"Sets the limit of users that can connect to this voice channel","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit user limit","rest":false,"required":true,"type":"Channel"},{"name":"limit","rest":false,"type":"Number","required":true,"description":"The new user limit"},{"name":"reason","description":"The reason to change the user limit","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceVideoQuality","version":"1.5.0","description":"Sets the video quality of a voice channel, returns bool","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit video quality","rest":false,"required":true,"type":"Channel"},{"name":"quality","rest":false,"required":true,"type":"Enum","enum":["Auto","Full"],"description":"The new video quality","enumName":"VideoQualityMode"},{"name":"reason","description":"The reason to change the video quality","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$startTyping","version":"1.0.0","description":"Starts typing in a channel","unwrap":true,"aliases":["$channelStartTyping"],"brackets":false,"args":[{"name":"channel ID","description":"The channel to start typing at","required":true,"rest":false,"type":"Channel"}],"category":"channel"},{"name":"$threadIsArchived","version":"1.5.0","aliases":["$isArchived","$threadArchived"],"description":"Returns whether a thread is archived","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to check if its archived","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$threadOwnerID","version":"2.2.0","description":"Returns the owner of the thread","brackets":false,"unwrap":true,"output":["Member"],"args":[{"name":"channel ID","description":"The thread to retrieve owner of","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$threadStarterMessageID","version":"1.5.0","description":"Returns the id of the message that started this thread","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The thread to get its starter message id","rest":false,"required":true,"type":"Channel"}],"output":["Message"],"category":"channel"},{"name":"$threadTotalMessagesSent","version":"1.5.0","description":"Returns the total count of sent messages in a thread","aliases":["$threadTotalMessagesCount"],"brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"channel ID","description":"The thread to pull data from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$transcript","version":"1.4.0","aliases":["$channelTranscript","$createTranscript"],"description":"Creates a channel transcript","brackets":true,"output":["String[]"],"unwrap":false,"args":[{"name":"channel ID","description":"The channel to create transcript of","rest":false,"required":true,"type":"TextChannel"},{"name":"variable","description":"The $env variable name to load the message id to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to use for every message, make sure to use $return","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"full","description":"Whether to load entire message object to the variable","rest":false,"required":false,"type":"Boolean"}],"category":"channel"},{"name":"$unarchiveThread","version":"1.0.0","aliases":["$unarchivePost"],"description":"Unarchives a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to unarchive","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to unarchive this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$unlockThread","version":"1.5.0","aliases":["$unlockPost"],"description":"Unlocks a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to unlock","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to unlock this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$commandCount","version":"1.0.0","description":"Returns the command count","brackets":false,"output":["Number"],"args":[{"name":"categories","rest":true,"required":true,"description":"The event types to filter by","type":"String"}],"unwrap":true,"category":"command"},{"name":"$commandInfo","version":"1.0.3","description":"Retrieves command info","unwrap":true,"brackets":true,"output":["Unknown"],"args":[{"name":"type","description":"The command type","rest":false,"type":"String","required":true},{"name":"name","description":"The command name","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property to retrieve","rest":true,"type":"String"}],"category":"command"},{"name":"$commandName","version":"1.0.3","description":"Returns the current command name","unwrap":false,"output":["String"],"category":"command"},{"name":"$commandNames","version":"1.0.6","description":"Return commands with given type","brackets":true,"output":["String[]"],"args":[{"name":"type","description":"The command type to pull names from","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every name","rest":false,"type":"String"}],"unwrap":true,"category":"command"},{"name":"$deleteCommand","version":"1.2.0","description":"Deletes the author's message","unwrap":false,"category":"command"},{"name":"$addActionRow","version":"1.0.0","description":"Adds an action row","unwrap":false,"category":"component"},{"name":"$addActionRowTo","version":"1.5.0","brackets":true,"description":"Adds an action row (or rows) to a message","unwrap":false,"aliases":["$addActionRowsTo"],"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add row to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"components","description":"Components for this row","rest":false,"required":true,"type":"String"},{"name":"keep existing rows","description":"Whether to keep or remove existing rows of given message","rest":false,"required":false,"type":"Boolean"}],"output":["Boolean"],"category":"component"},{"name":"$addButton","version":"1.0.0","description":"Adds a button component to the newest row","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The button label","rest":false,"type":"String","required":true},{"name":"style","description":"The style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","required":true,"rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"category":"component"},{"name":"$addButtonTo","version":"1.5.0","description":"Adds a button component to the newest row in a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add button to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The button label","rest":false,"type":"String","required":true},{"name":"style","description":"The style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","required":true,"rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"output":["Boolean"],"category":"component"},{"name":"$addChannelSelectMenu","version":"1.4.0","description":"Creates a channel select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"type":"Boolean"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels to use"}],"category":"component"},{"name":"$addChannelSelectMenuTo","version":"2.4.0","description":"Creates a channel select menu on a message","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels to use"}],"category":"component"},{"name":"$addChannelType","version":"1.4.0","aliases":["$addChannelTypes"],"description":"Adds channel types to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"types","description":"The channel types to add","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"type":"Enum","enumName":"ChannelType"}],"category":"component"},{"name":"$addChoice","version":"1.0.6","description":"Adds an autocomplete choice","unwrap":true,"brackets":true,"args":[{"name":"choice name","description":"The name for this choice","rest":false,"required":true,"type":"String"},{"name":"choice value","description":"The value for this choice","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addContainer","version":"2.4.0","description":"Adds a new container component","unwrap":false,"brackets":true,"args":[{"name":"components","description":"The components to add","rest":false,"required":true,"type":"String"},{"name":"color","description":"The color to set","rest":false,"type":"Color"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addDefaultChannelOption","version":"1.4.0","aliases":["$addDefaultChannels","$addDefaultChannelOptions"],"description":"Adds default channel options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"channel IDs","description":"The channel ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addDefaultRoleOption","version":"1.4.0","aliases":["$addDefaultRoles","$addDefaultRoleOptions"],"description":"Adds default role options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"role IDs","description":"The role ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addDefaultUserOption","version":"1.4.0","aliases":["$addDefaultUsers","$addDefaultUserOptions"],"description":"Adds default user options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"user IDs","description":"The user ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addFile","version":"2.4.0","description":"Adds a new file component","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url of the file (must use attachment://)","rest":false,"required":true,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addFileUpload","version":"2.6.0","description":"Adds a new file upload component to the modal label","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"required":true,"type":"String"},{"name":"min values","description":"The min values of file uploads","rest":false,"type":"Number"},{"name":"max values","description":"The max values of file uploads","rest":false,"type":"Number"}],"category":"component"},{"name":"$addLabel","version":"2.6.0","description":"Adds a new label component to the modal","unwrap":false,"brackets":true,"args":[{"name":"name","description":"The name for the label","rest":false,"required":true,"type":"String"},{"name":"component","description":"The component to attach to the label","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for the label","rest":false,"type":"String"},{"name":"required","description":"Whether this field is required","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addMediaGallery","version":"2.4.0","description":"Adds a new media gallery component","unwrap":false,"brackets":true,"args":[{"name":"items","description":"The media items to add","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addMediaItem","version":"2.4.0","description":"Adds a new media gallery item","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url for the media item","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the media item","rest":false,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addMentionableSelectMenu","version":"1.4.0","description":"Creates a mentionable select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use"}],"category":"component"},{"name":"$addMentionableSelectMenuTo","version":"1.5.0","description":"Creates a mentionable select menu on a message","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add row to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use","pointer":0,"pointerProperty":"guild"}],"category":"component"},{"name":"$addOption","version":"1.0.0","description":"Adds a select menu option","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for this option","rest":false,"type":"String","required":false},{"name":"value","description":"The value to use for this option","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji to use for this option","type":"String","rest":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addRoleSelectMenu","version":"1.3.0","description":"Creates a role select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles to use"}],"category":"component"},{"name":"$addRoleSelectMenuTo","version":"1.5.0","description":"Creates a role select menu on a message","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles to use"}],"category":"component"},{"name":"$addSection","version":"2.4.0","description":"Adds a new section component","unwrap":false,"brackets":true,"args":[{"name":"components","description":"The components and accessory to add","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addSeparator","version":"2.4.0","description":"Adds a new separator component","unwrap":true,"brackets":false,"args":[{"name":"spacing","description":"The spacing of this separator","rest":false,"required":true,"type":"Enum","enum":["Small","Large"],"enumName":"SeparatorSpacingSize"},{"name":"divider","description":"Whether to show a divider line","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addStringSelectMenu","version":"1.0.0","description":"Creates a string select menu","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"category":"component"},{"name":"$addStringSelectMenuTo","version":"1.5.0","description":"Creates a string select menu on a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"output":["Boolean"],"category":"component"},{"name":"$addTextDisplay","version":"2.4.0","description":"Adds a new text display component","unwrap":true,"brackets":true,"args":[{"name":"content","description":"The content of this text display","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addTextInput","version":"1.0.0","description":"Adds a text input field to the modal","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"type":"String","required":true},{"name":"name","description":"The field name, will be overwritten when used inside a label","rest":false,"required":true,"type":"String"},{"name":"type","description":"Paragraph or short","rest":false,"type":"Enum","enum":["Short","Paragraph"],"enumName":"TextInputStyle"},{"name":"required","description":"Whether this field is required","rest":false,"type":"Boolean"},{"name":"placeholder","description":"The placeholder to use for the field","rest":false,"type":"String"},{"name":"default value","description":"The default value for the field","rest":false,"type":"String"},{"name":"minimum length","description":"The minimum length needed","rest":false,"type":"Number"},{"name":"maximum length","description":"The max length needed","rest":false,"type":"Number"}],"category":"component"},{"name":"$addThumbnail","version":"2.4.0","description":"Adds a new thumbnail accessory","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url for the thumbnail","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the thumbnail","rest":false,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addUserSelectMenu","version":"1.4.0","description":"Creates a user select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default users","rest":true,"type":"String","description":"The default selected users to use"}],"category":"component"},{"name":"$addUserSelectMenuTo","version":"1.5.0","output":["Boolean"],"description":"Creates a user select menu on a message","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default users","rest":true,"type":"String","description":"The default selected users to use"}],"category":"component"},{"name":"$deleteActionRow","version":"1.0.0","description":"Deletes an action row or top level component at given index","brackets":true,"args":[{"name":"index","description":"The row index to delete","rest":false,"required":true,"type":"Number"}],"unwrap":true,"category":"component"},{"name":"$deleteActionRowFrom","version":"1.5.0","description":"Deletes an action row or top level component at given index","brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to remove row from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The row index to delete","rest":false,"required":true,"type":"Number"}],"output":["Boolean"],"unwrap":true,"category":"component"},{"name":"$deleteComponent","version":"1.0.0","description":"Deletes a message component with given custom id","brackets":true,"args":[{"name":"custom ID","description":"The component's custom id to delete","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"component"},{"name":"$deleteComponentFrom","version":"1.5.0","description":"Deletes a message component with given custom id from a message","brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to remove component from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The component's custom id to delete","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"unwrap":true,"category":"component"},{"name":"$disableButtons","version":"2.2.0","description":"Disables all buttons on the current message","aliases":["$disableAllButtons"],"unwrap":true,"args":[{"name":"index","description":"The index of the row to disable","rest":false,"required":true,"type":"Number"}],"brackets":false,"category":"component"},{"name":"$disableButtonsOf","version":"2.2.0","description":"Disables all buttons of a message, returns bool","aliases":["$disableAllButtonsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to disable buttons on","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the row to disable","rest":false,"type":"Number"}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$disableComponents","version":"2.2.0","description":"Disables all components on the current message","aliases":["$disableAllComponents"],"unwrap":false,"category":"component"},{"name":"$disableComponentsOf","version":"2.2.0","description":"Disables all components of a message, returns bool","aliases":["$disableAllComponentsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to disable components on","rest":false,"required":true,"type":"Message","pointer":0}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$editButton","version":"1.0.7","description":"Edits a button component","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id to find the component","rest":false,"type":"String","required":true},{"name":"new custom ID","description":"The new custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The new button label","rest":false,"type":"String"},{"name":"style","description":"The new style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The new emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"category":"component"},{"name":"$editButtonOf","version":"1.5.0","description":"Edits a button component of a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit button for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id to find the component","rest":false,"type":"String","required":true},{"name":"new custom ID","description":"The new custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The new button label","rest":false,"type":"String"},{"name":"style","description":"The new style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The new emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"output":["Boolean"],"category":"component"},{"name":"$editChannelSelectMenu","version":"2.2.0","description":"Edits a channel select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels of the menu"}],"category":"component"},{"name":"$editChannelSelectMenuOf","version":"2.2.0","description":"Edits a channel select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$editMentionableSelectMenu","version":"2.2.0","description":"Edits a mentionable select menu","brackets":true,"unwrap":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use"}],"category":"component"},{"name":"$editMentionableSelectMenuOf","version":"2.2.0","description":"Edits a mentionable select menu of a message, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use","pointer":0,"pointerProperty":"guild"}],"output":["Boolean"],"category":"component"},{"name":"$editOption","version":"1.4.0","description":"Edits a select menu option","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name to find","rest":false,"required":true,"type":"String"},{"name":"new name","description":"The new option name","rest":false,"required":true,"type":"String"},{"name":"description","description":"The new description for this option","rest":false,"type":"String","required":false},{"name":"value","description":"The new value for this option","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for this option","type":"String","rest":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$editRoleSelectMenu","version":"2.2.0","description":"Edits a role select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles of the menu"}],"category":"component"},{"name":"$editRoleSelectMenuOf","version":"2.2.0","description":"Edits a role select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$editStringSelectMenu","version":"1.4.0","description":"Edits a string select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"category":"component"},{"name":"$editStringSelectMenuOf","version":"1.5.0","description":"Edits a string select menu of a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"output":["Boolean"],"category":"component"},{"name":"$editUserSelectMenu","version":"2.2.0","description":"Edits a user select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default users","rest":true,"type":"String","description":"The default selected users of the menu"}],"category":"component"},{"name":"$editUserSelectMenuOf","version":"2.2.0","description":"Edits a user select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default users","rest":true,"type":"String","description":"The default selected users of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$enableButtons","version":"2.2.0","description":"Enables all buttons on the current message","aliases":["$enableAllButtons"],"unwrap":true,"args":[{"name":"index","description":"The index of the row to enable","rest":false,"required":true,"type":"Number"}],"brackets":false,"category":"component"},{"name":"$enableButtonsOf","version":"2.2.0","description":"Enables all buttons of a message, returns bool","aliases":["$enableAllButtonsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to enable buttons on","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the row to enable","rest":false,"type":"Number"}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$enableComponents","version":"2.2.0","description":"Enables all components on the current message","aliases":["$enableAllComponents"],"unwrap":false,"category":"component"},{"name":"$enableComponentsOf","version":"2.2.0","description":"Enables all components of a message, returns bool","aliases":["$enableAllComponentsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to enable components on","rest":false,"required":true,"type":"Message","pointer":0}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$setChannelType","version":"1.5.0","aliases":["$setChannelTypes"],"description":"Sets channel types for the last select menu","unwrap":true,"brackets":true,"args":[{"name":"types","description":"The channel types to set","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"type":"Enum","enumName":"ChannelType"}],"category":"component"},{"name":"$and","version":"1.0.0","description":"Validates multiple conditions","unwrap":false,"brackets":true,"output":["Boolean"],"args":[{"name":"conditions","rest":true,"required":true,"type":"String","condition":true,"description":"The conditions that must match"}],"category":"condition"},{"name":"$checkCondition","version":"1.0.0","description":"Checks whether a condition is valid","brackets":true,"unwrap":false,"output":["Boolean"],"args":[{"name":"condition","description":"The condition to use","rest":false,"condition":true,"type":"String","required":true}],"category":"condition"},{"name":"$isBoolean","version":"1.0.6","description":"Checks whether given value is bool like","aliases":["$isBool"],"brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"value","description":"Value to check if its a valid bool","rest":false,"required":true,"type":"String"}],"category":"condition"},{"name":"$isValidHex","version":"1.3.0","description":"Checks whether given hex is a valid integer number between 0x00000 and 0xffffff","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"hex","rest":false,"required":true,"type":"String","description":"The hex to check for"}],"category":"condition"},{"name":"$isValidLink","version":"1.0.0","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"link","description":"The link to check","rest":false,"required":true,"type":"String"}],"description":"Checks whether a link is valid, this will not make sure that a site actually exists or returns success HTTP responses","category":"condition"},{"name":"$or","version":"1.0.0","description":"Validates one condition","unwrap":false,"brackets":true,"output":["Boolean"],"args":[{"name":"conditions","rest":true,"required":true,"type":"String","condition":true,"description":"The conditions that must match one"}],"category":"condition"},{"name":"$channelCooldown","version":"1.5.0","description":"Adds a cooldown binded to a channel and command","brackets":true,"unwrap":false,"args":[{"name":"channel ID","rest":false,"description":"The channel id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$cooldown","version":"1.0.3","description":"Adds a command cooldown","brackets":true,"unwrap":false,"args":[{"name":"id","rest":false,"description":"The id to assign the cooldown to, can be anything","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"examples":["$c[This is a guild based user cooldown]\n$cooldown[$commandName_$guildID_$authorID;1h;You're on cooldown.]\nHello!\n","$c[This is a user based cooldown]\n$cooldown[$commandName_$authorID;1h;You're on cooldown.]\nHello!\n"],"experimental":true,"category":"cooldown"},{"name":"$deleteChannelCooldown","version":"1.5.0","description":"Deletes cooldown for given channel id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteCooldown","version":"1.0.3","description":"Deletes cooldown of given id","brackets":true,"unwrap":true,"args":[{"name":"id","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteGuildCooldown","version":"1.5.0","description":"Deletes cooldown for given guild id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteMemberCooldown","version":"1.5.0","description":"Deletes cooldown for given guild and user id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true},{"name":"user ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteUserCooldown","version":"1.5.0","description":"Deletes cooldown for given user id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"user ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getCooldownTime","version":"1.0.3","description":"Retrieves current cooldown time in ms for given id","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"id","description":"The id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getGuildCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given guild id, binded to current command","brackets":true,"aliases":["$getServerCooldownTime"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getMemberCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given guild and user id, binded to current command","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild id to get its cooldown","rest":false,"type":"String","required":true},{"name":"user ID","description":"The user id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getUserCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given user id, binded to current command","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"user ID","description":"The user id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$guildCooldown","version":"1.5.0","description":"Adds a cooldown binded to a guild and command","brackets":true,"unwrap":false,"aliases":["$serverCooldown"],"args":[{"name":"guild ID","rest":false,"description":"The guild id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$memberCooldown","version":"1.5.0","description":"Adds a cooldown binded to a guild member and command","brackets":true,"unwrap":false,"args":[{"name":"guild ID","rest":false,"description":"The guild id to assign the cooldown to","type":"String","required":true},{"name":"user ID","rest":false,"description":"The user id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$userCooldown","version":"1.5.0","description":"Adds a cooldown binded to a user and command","brackets":true,"unwrap":false,"args":[{"name":"user ID","rest":false,"description":"The user id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$createQueryParams","version":"1.0.7","description":"Creates query params with given fields","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"param name;param value","description":"The param name followed by the value, (param1;value1)","rest":true,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decodeURI","version":"1.0.0","description":"Decodes text from a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to decode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decodeURIComponent","version":"1.0.0","description":"Decodes text from a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to decode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decrypt","version":"1.5.0","description":"Decrypts given text with a key","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to decrypt","rest":false,"required":true,"type":"String"},{"name":"key","description":"The key to use to decrypt the text","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"crypto"},{"name":"$deflate","version":"1.2.0","description":"Compresses given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"The text to compress","type":"String","rest":false,"required":true},{"name":"encoding","rest":false,"required":false,"description":"The output encoding to use","type":"String"}],"category":"crypto"},{"name":"$encodeURI","version":"1.0.0","description":"Encodes text for a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to encode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$encodeURIComponent","version":"1.0.0","description":"Encodes text for a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to encode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$encrypt","version":"1.5.0","description":"Encrypts given text with a key","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to encrypt","rest":false,"required":true,"type":"String"},{"name":"key","description":"The key to use to encrypt text","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"crypto"},{"name":"$inflate","version":"1.2.0","description":"Decompresses given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"The text to decompress","type":"String","rest":false,"required":true},{"name":"encoding","rest":false,"required":false,"description":"The input encoding to use","type":"String"}],"category":"crypto"},{"name":"$md5","version":"1.2.0","description":"Creates a md5 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$randomBytes","version":"1.5.0","description":"Generates a string of random bytes, in hex","brackets":true,"output":["String"],"args":[{"name":"length","description":"The length of the hex string","rest":false,"required":true,"type":"Number"}],"unwrap":true,"category":"crypto"},{"name":"$sha256","version":"1.2.0","description":"Creates a sha256 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$sha512","version":"1.2.0","description":"Creates a sha512 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$addField","version":"1.0.0","description":"Adds an embed field","unwrap":true,"args":[{"name":"name","description":"The name for the field","required":true,"type":"String","rest":false},{"name":"value","description":"The value for the field","required":true,"type":"String","rest":false},{"name":"inline","description":"Whether this field will be inline","type":"Boolean","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$author","version":"1.0.0","description":"Adds an embed author","unwrap":true,"args":[{"name":"name","description":"Adds a name to the embed author","required":true,"type":"String","rest":false},{"name":"icon","description":"The icon url","rest":false,"type":"String"},{"name":"hyperlink","description":"The hyperlink url","rest":false,"type":"String"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$color","version":"1.0.0","description":"Adds an embed color","unwrap":true,"args":[{"name":"color","description":"The color for the embed","required":true,"enum":["Default","White","Aqua","Green","Blue","Yellow","Purple","LuminousVividPink","Fuchsia","Gold","Orange","Red","Grey","Navy","DarkAqua","DarkGreen","DarkBlue","DarkPurple","DarkVividPink","DarkGold","DarkOrange","DarkRed","DarkGrey","DarkerGrey","LightGrey","DarkNavy","Blurple","Greyple","DarkButNotBlack","NotQuiteBlack"],"type":"Color","rest":false,"enumName":"Colors"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$deleteField","version":"2.1.0","description":"Deletes an embed field","unwrap":true,"args":[{"name":"field index","description":"The index field to delete","rest":false,"required":true,"type":"Number"},{"name":"index","description":"The index to delete this field on","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$description","version":"1.0.0","description":"Adds an embed description","unwrap":true,"args":[{"name":"description","description":"The description for the embed","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$editField","version":"1.4.0","description":"Edits an embed field","unwrap":true,"args":[{"name":"field index","description":"The index field to edit","rest":false,"required":true,"type":"Number"},{"name":"name","description":"The name for the field","type":"String","rest":false},{"name":"value","description":"The value for the field","type":"String","rest":false},{"name":"inline","description":"Whether this field will be inline","type":"Boolean","rest":false},{"name":"index","description":"The index to edit this data on","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$footer","version":"1.0.0","description":"Adds an embed footer","unwrap":true,"args":[{"name":"text","description":"The text for the embed footer","required":true,"type":"String","rest":false},{"name":"icon","description":"The icon url for the embed footer","type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$image","version":"1.0.0","description":"Adds an embed image","unwrap":true,"args":[{"name":"url","description":"The url for the embed image","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$thumbnail","version":"1.0.0","description":"Adds an embed thumbnail","unwrap":true,"args":[{"name":"url","description":"The url for the embed thumbnail","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$timestamp","version":"1.0.0","description":"Adds an embed timestamp","unwrap":true,"args":[{"name":"ms","description":"The timestamp time to add","type":"Number","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":false,"category":"embed"},{"name":"$title","version":"1.0.0","description":"Adds an embed title","unwrap":true,"args":[{"name":"title","description":"Adds a title to the embed","required":true,"type":"String","rest":false},{"name":"hyperlink","description":"The hyperlink url","rest":false,"type":"String"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$addApplicationEmoji","version":"1.5.0","description":"Adds an application emoji, returns the emoji id","brackets":true,"unwrap":true,"args":[{"name":"name","description":"The name for the emoji","rest":false,"required":true,"type":"String"},{"name":"url","description":"The emoji icon to use","rest":false,"required":true,"type":"String"},{"name":"return emoji ID","description":"Whether to return the emoji id","rest":false,"type":"Boolean"}],"output":["ApplicationEmoji"],"category":"emoji"},{"name":"$addEmoji","version":"1.0.7","description":"Adds an emoji to a guild, returns the emoji id","brackets":true,"unwrap":true,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to add this emote to","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the emoji","rest":false,"required":true,"type":"String"},{"name":"url","description":"The emoji icon to use","rest":false,"required":true,"type":"String"},{"name":"return emoji ID","description":"Whether to return the emoji id","rest":false,"type":"Boolean"},{"name":"roles","description":"The roles to limit usage of this emote","rest":true,"type":"Role","pointer":0}],"category":"emoji"},{"name":"$deleteApplicationEmojis","version":"1.5.0","description":"Deletes application emojis, returns the count of emojis deleted","brackets":true,"unwrap":true,"args":[{"name":"emojis","description":"The emojis to delete","rest":true,"required":true,"type":"ApplicationEmoji"}],"output":["Number"],"category":"emoji"},{"name":"$deleteEmojiMessageReactions","version":"1.0.0","description":"Deletes all emoji reactions from a message, returns amount of reaction emojis successfully deleted","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove emoji reactions from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emojis","description":"The emojis to delete from this message","required":true,"pointer":1,"rest":true,"type":"Reaction"}],"category":"emoji"},{"name":"$deleteEmojis","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given emojis from a guild, returns the count of emotes deleted","args":[{"name":"guild ID","description":"The guild to delete emotes from","rest":false,"required":true,"type":"Guild"},{"name":"emojis","description":"The emojis to delete","rest":true,"pointer":0,"required":true,"type":"GuildEmoji"}],"category":"emoji"},{"name":"$editApplicationEmoji","version":"1.5.0","description":"Edits an application emoji, returns bool","brackets":true,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to edit","rest":false,"required":true,"type":"ApplicationEmoji"},{"name":"name","description":"The new name for the emoji","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"emoji"},{"name":"$editEmoji","version":"1.5.0","description":"Edits an emoji of a guild, returns bool","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to edit this emoji on","rest":false,"required":true,"type":"Guild"},{"name":"emoji ID","description":"The emoji to edit","rest":false,"required":true,"type":"GuildEmoji","pointer":0},{"name":"name","description":"The new name for the emoji","rest":false,"type":"String"},{"name":"reason","description":"The reason for editing the emoji","rest":false,"type":"String"},{"name":"roles","description":"The new roles to limit usage of this emoji to","rest":true,"type":"Role","pointer":0}],"output":["Boolean"],"category":"emoji"},{"name":"$emoji","version":"1.0.0","description":"Formats given emoji","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji id to format","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiAnimated","version":"1.0.0","description":"Returns whether the emoji is animated","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji to return its animation state","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiAuthorID","version":"2.6.0","description":"Returns the author id of an emoji","brackets":false,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to return its author","rest":false,"required":true,"type":"Emoji"}],"output":["User"],"category":"emoji"},{"name":"$emojiCount","version":"1.0.0","description":"Returns the emoji count of all servers","unwrap":true,"brackets":false,"args":[{"name":"type","description":"The type of the emotes to count","rest":false,"required":true,"type":"Enum","enum":["normal","animated"],"enumName":"EmojiType"}],"output":["Number"],"category":"emoji"},{"name":"$emojiCreatedAt","version":"1.0.0","description":"Returns the emoji creation timestamp","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"emoji ID","description":"The emoji to return its creation timestamp","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiExists","version":"1.0.0","description":"Returns whether an emoji id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji id to check","rest":false,"required":true,"type":"String"}],"category":"emoji"},{"name":"$emojiGuildID","version":"1.0.0","description":"Returns the emoji guild id","brackets":false,"unwrap":true,"output":["Guild"],"args":[{"name":"emoji ID","description":"The emoji to return its guild id","rest":false,"type":"GuildEmoji","required":true}],"category":"emoji"},{"name":"$emojiID","version":"1.2.0","description":"Returns the emoji id","brackets":false,"unwrap":true,"output":["Emoji"],"args":[{"name":"emoji name","description":"The emoji name to return its id","rest":false,"type":"String","required":true}],"category":"emoji"},{"name":"$emojiIDs","description":"Returns every guild emoji id","version":"1.3.0","unwrap":true,"brackets":false,"output":["GuildEmoji[]"],"args":[{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"emoji"},{"name":"$emojiIdentifier","version":"1.0.0","description":"Returns the emoji identifier","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji to return its identifier","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiName","version":"1.2.0","description":"Returns the emoji name","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji to return its name","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiNames","version":"1.0.0","description":"Returns the emote names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the emotes of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each emoji","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"emoji"},{"name":"$emojiRawData","version":"1.5.0","description":"Returns the raw data of an emoji","unwrap":true,"brackets":false,"args":[{"name":"emoji ID","rest":false,"required":true,"description":"The emoji to get raw data from","type":"Emoji"}],"output":["Json"],"category":"emoji"},{"name":"$emojiRequiresColons","version":"1.0.0","description":"Returns whether the emoji requires colons","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji to return its colons state","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiRoles","version":"1.0.0","description":"Returns the role ids that can use this emote","brackets":false,"unwrap":true,"output":["Role[]"],"args":[{"name":"emoji ID","description":"The emoji to return its roles","rest":false,"type":"GuildEmoji","required":true},{"name":"separator","description":"The separator to use for every role","rest":false,"type":"String"}],"category":"emoji"},{"name":"$emojiURL","version":"1.0.0","description":"Returns the emoji url","brackets":false,"unwrap":true,"output":["URL"],"args":[{"name":"emoji ID","description":"The emoji to return its url","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$fetchApplicationEmojis","version":"2.5.0","description":"Caches all application emojis of the client","unwrap":false,"category":"emoji"},{"name":"$getApplicationEmojis","version":"1.5.0","description":"Gets all application emojis","brackets":false,"unwrap":true,"args":[{"name":"property","description":"The property to return for every emoji","rest":false,"type":"Enum","enum":["authorID","name","id","identifier","requiresColons","managed","timestamp","animated","url","format"],"enumName":"ApplicationEmojiProperty"},{"name":"separator","description":"The separator to use for every emoji property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"emoji"},{"name":"$randomApplicationEmojiID","version":"1.5.0","description":"Returns a random emoji ID of the application","unwrap":false,"output":["ApplicationEmoji"],"category":"emoji"},{"name":"$randomEmojiID","version":"1.0.3","description":"Returns a random emoji ID","unwrap":false,"output":["GuildEmoji"],"category":"emoji"},{"name":"$randomGuildEmojiID","version":"1.0.3","description":"Returns a random emoji ID of a guild","unwrap":true,"brackets":false,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to get emoji from","rest":false,"required":true,"type":"Guild"}],"category":"emoji"},{"name":"$entitlementConsume","version":"1.5.0","description":"Consumes an entitlement from an interaction","unwrap":true,"args":[{"name":"entitlement name","description":"The name of the entitlement to consume","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$entitlementEndTimestamp","version":"1.5.0","description":"Returns the time at which this entitlement ends","output":["Number"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementGuildID","version":"1.5.0","description":"Returns this entitlement's guild id","output":["Guild"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementID","version":"1.5.0","description":"Returns this entitlement's id","output":["String"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsActive","version":"1.5.0","description":"Returns whether this entitlement is active","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsConsumed","version":"1.5.0","description":"Returns whether this entitlement is consumed","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsDeleted","version":"1.5.0","description":"Returns whether this entitlement is deleted","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsGuildSubscription","version":"1.5.0","description":"Returns whether this entitlement is for a guild","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsUserSubscription","version":"1.5.0","description":"Returns whether this entitlement is for a user","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementSkuID","version":"1.5.0","description":"Returns this entitlement's sku id","output":["String"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementStartTimestamp","version":"1.5.0","description":"Returns the time at which this entitlement starts","output":["Number"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementType","version":"1.5.0","description":"Returns this entitlement's type","output":["EntitlementType"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementUserID","version":"1.5.0","description":"Returns this entitlement's user id","output":["User"],"unwrap":false,"category":"entitlement"},{"name":"$hasAllEntitlements","version":"1.5.0","aliases":["$interactionHasAllEntitlements"],"description":"Checks whether this interaction user has all of the given entitlements","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlements to validate","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$hasAnyEntitlement","version":"1.5.0","aliases":["$interactionHasAnyEntitlement"],"description":"Checks whether this interaction user has any of the given entitlements","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlements to validate","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$hasEntitlement","version":"1.5.0","aliases":["$interactionHasEntitlement"],"description":"Checks whether this interaction user has given entitlement","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlement to validate","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$createScheduledEvent","version":"2.6.0","description":"Creates a new scheduled event on a guild, returns event id","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create scheduled event on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name of the scheduled event","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the scheduled event","rest":false,"type":"String"},{"name":"type","description":"The entity type of the scheduled event","rest":false,"required":true,"type":"Enum","enum":["StageInstance","Voice","External"],"enumName":"GuildScheduledEventEntityType"},{"name":"start","description":"The start time of the scheduled event","rest":false,"required":true,"type":"Date"},{"name":"end","description":"The end time of the scheduled event","rest":false,"type":"Date"},{"name":"cover","description":"The cover image of the scheduled event","rest":false,"type":"URL"}],"output":["ScheduledEvent"],"category":"event"},{"name":"$deleteScheduledEvent","version":"2.6.0","description":"Deletes a scheduled event from a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to delete scheduled event from","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to delete","rest":false,"required":true,"type":"ScheduledEvent","pointer":0}],"output":["Boolean"],"category":"event"},{"name":"$editScheduledEvent","version":"2.6.0","description":"Edits an existing scheduled event on a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to edit scheduled event on","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to edit","rest":false,"required":true,"type":"ScheduledEvent","pointer":0},{"name":"name","description":"The new name for the scheduled event","rest":false,"type":"String"},{"name":"description","description":"The new description for the scheduled event","rest":false,"type":"String"},{"name":"type","description":"The new entity type for the scheduled event","rest":false,"type":"Enum","enum":["StageInstance","Voice","External"],"enumName":"GuildScheduledEventEntityType"},{"name":"start","description":"The new start time for the scheduled event","rest":false,"type":"Date"},{"name":"end","description":"The new end time for the scheduled event","rest":false,"type":"Date"},{"name":"cover","description":"The new cover image for the scheduled event","rest":false,"type":"URL"}],"output":["Boolean"],"category":"event"},{"name":"$getScheduledEvent","version":"2.6.0","description":"Returns a scheduled event of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get scheduled event from","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to get","rest":false,"required":true,"type":"ScheduledEvent","pointer":0},{"name":"property","description":"The property of the scheduled event to return","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"enumName":"ScheduledEventProperty"}],"output":["Json","Unknown"],"category":"event"},{"name":"$setScheduledEventChannel","version":"2.6.0","description":"Sets a channel for the current scheduled event","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The voice channel of the scheduled event","rest":false,"required":true,"type":"Channel"}],"category":"event"},{"name":"$setScheduledEventLocation","version":"2.6.0","description":"Sets a location for the current scheduled event","unwrap":true,"brackets":true,"args":[{"name":"location","description":"The location of the scheduled event","rest":false,"required":true,"type":"String"}],"category":"event"},{"name":"$appendFile","version":"1.0.0","description":"Appends text to a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"text","description":"The text to append","rest":false,"type":"String","required":true},{"name":"encoding","description":"The encoding to use for text","rest":false,"type":"String"}],"category":"file"},{"name":"$copyFile","version":"1.2.0","description":"Copies given path to another path","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make a copy of","rest":false,"required":true,"type":"String"},{"name":"destination","description":"The output path to copy to","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$deleteFile","version":"1.0.0","description":"Deletes a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$fileAccessedAt","version":"1.4.0","description":"Gets last time a file was accessed","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileBlockCount","version":"1.4.0","description":"Gets block count of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileBlockSize","version":"1.4.0","description":"Gets block size of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileChangedAt","version":"1.4.0","description":"Gets last time a file was changed","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileCreatedAt","version":"1.4.0","description":"Gets timestamp of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileExists","version":"1.0.0","description":"Checks whether a path exists","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileModifiedAt","version":"1.4.0","description":"Gets timestamp of a file or directory when it was last modified","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileSize","version":"1.2.0","description":"Gets size of a file or directory in bytes","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isDirectory","version":"1.4.0","description":"Checks whether a path is a directory","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isFile","version":"1.4.0","description":"Checks whether a path is a file","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isSymbolicLink","version":"1.4.0","description":"Checks whether a path is a symbolic link","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$mkdir","version":"1.0.0","description":"Creates a directory","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path for the dir","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$mktdir","version":"1.4.0","description":"Creates a temporary directory","unwrap":true,"brackets":true,"aliases":["$makeTempDir","$createTempDir"],"output":["String"],"args":[{"name":"prefix","description":"The prefix for the temp dir","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$moveFile","version":"1.4.0","description":"Moves a path to another","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make to move","rest":false,"required":true,"type":"String"},{"name":"destination","description":"The output path","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$pathJoin","version":"2.2.0","description":"Joins paths together","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"paths","description":"The paths to join with","rest":true,"required":true,"type":"String"}],"category":"file"},{"name":"$pathResolve","version":"2.2.0","description":"Resolves paths into an absolute path","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"paths","description":"The paths to resolve","rest":true,"required":true,"type":"String"}],"category":"file"},{"name":"$readDir","version":"1.5.0","description":"Reads the contents of a directory","unwrap":true,"brackets":true,"output":["Json","String[]"],"args":[{"name":"path","description":"The path to the directory","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for each result","rest":false,"type":"String"},{"name":"encoding","description":"The encoding to use for the result","rest":false,"type":"String"}],"category":"file"},{"name":"$readFile","version":"1.0.0","description":"Reads text from a file","unwrap":true,"brackets":true,"output":["Unknown"],"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"encoding","description":"The encoding to use for the text","rest":false,"type":"String"}],"category":"file"},{"name":"$renameFile","version":"1.5.0","description":"Renames a file","unwrap":true,"brackets":true,"args":[{"name":"old path","description":"The old path to the file","rest":false,"required":true,"type":"String"},{"name":"new path","description":"The new path to the file","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$symlink","version":"1.4.0","description":"Creates a symbolic link to another path","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make to use as reference","rest":false,"required":true,"type":"String"},{"name":"other path","description":"The other path to link","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$truncateFile","version":"1.0.0","description":"Truncates text in a file to given length","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"length","description":"The new length for the file","rest":false,"type":"Number","required":true}],"category":"file"},{"name":"$writeFile","version":"1.0.0","description":"Writes text to a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"text","description":"The text to write","rest":false,"type":"String","required":true},{"name":"encoding","description":"The encoding to use for text","rest":false,"type":"String"}],"category":"file"},{"name":"$bold","version":"1.3.0","brackets":true,"description":"Makes given text bold","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make bold, this will attempt to escape all *","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$codeBlock","version":"1.3.0","brackets":true,"description":"Creates a code block with given text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to create block with, this will attempt to escape all `","rest":false,"required":true,"type":"String"},{"name":"lang","description":"The language to give to this code block","rest":false,"type":"String"}],"category":"formatting"},{"name":"$hyperlink","version":"1.3.0","brackets":true,"description":"Creates a hyperlink text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make hyperlink","rest":false,"required":true,"type":"String"},{"name":"url","description":"The url to use for hyperlink","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$inlineCode","aliases":["$inline","$markdown"],"version":"1.3.0","brackets":true,"description":"Adds backticks to text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to mark down, this will attempt to escape all `","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$italic","version":"1.5.0","brackets":true,"description":"Makes given text italic","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make italic, this will attempt to escape all _ and *","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$spoiler","version":"1.3.0","brackets":true,"description":"Makes given text a spoiler","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make spoiler, this will attempt to escape all |","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$strikethrough","version":"1.3.0","brackets":true,"description":"Makes given text strikethrough","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make strikethrough, this will attempt to escape all ~","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$subtext","version":"2.2.0","description":"Makes given text a subtext","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to make subtext","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$underline","version":"1.3.0","brackets":true,"description":"Adds an underline to text","aliases":["$underscore"],"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to add underline to, this will attempt to escape all _","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$createGuild","version":"1.5.0","description":"Creates a new guild, returns guild id","aliases":["$createServer"],"unwrap":true,"brackets":true,"deprecated":true,"args":[{"name":"name","description":"The name for the guild","rest":false,"required":true,"type":"String"},{"name":"icon","description":"The icon for the guild","rest":false,"type":"URL"},{"name":"template","description":"The template to use for the guild","rest":false,"type":"Template"}],"output":["Guild"],"category":"guild"},{"name":"$createGuildTemplate","version":"1.5.0","description":"Creates template for a guild, returns template code","aliases":["$createServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create template on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the template","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for the template","rest":false,"type":"String"}],"output":["Template"],"category":"guild"},{"name":"$deleteGuild","version":"1.5.0","description":"Deletes a guild, returns bool","aliases":["$deleteServer"],"unwrap":true,"brackets":true,"deprecated":true,"args":[{"name":"guild ID","description":"The guild to delete","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$deleteGuildApplicationCommands","version":"1.4.0","description":"Deletes all guild commands of your bot from a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to delete commands from","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$deleteGuildTemplate","version":"1.5.0","description":"Deletes template from a guild, returns bool","aliases":["$deleteServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to delete","rest":false,"required":true,"type":"Template"}],"output":["Boolean"],"category":"guild"},{"name":"$editGuildTemplate","version":"1.5.0","description":"Edits template on a guild, returns bool","aliases":["$editServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to edit","rest":false,"required":true,"type":"Template"},{"name":"name","description":"The new name for the template","rest":false,"type":"String"},{"name":"description","description":"The new description for the template","rest":false,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$getGuildInvite","version":"2.2.0","description":"Returns information about a guild invite","brackets":true,"unwrap":true,"output":["Json","Unknown"],"args":[{"name":"guild ID","description":"The guild to fetch invite from","rest":false,"required":true,"type":"Guild"},{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property of the invite to return","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"}],"category":"guild"},{"name":"$getGuildPreview","version":"2.5.0","description":"Returns the preview of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to fetch preview from","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","description","features","timestamp","icon","splash","emojis","stickers","discoverySplash","approximateMemberCount","approximatePresenceCount"],"enumName":"GuildPreviewProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown"],"category":"guild"},{"name":"$getGuildTemplate","version":"1.5.0","description":"Gets the data of a guild template","aliases":["$getServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to get","rest":false,"required":true,"type":"Template"},{"name":"property","description":"The property of the template to return","rest":false,"type":"Enum","enum":["code","name","description","guildID","authorID","timestamp","updatedTimestamp","url","usageCount","unSynced"],"enumName":"TemplateProperty"}],"output":["Json","Unknown"],"category":"guild"},{"name":"$guildAfkChannelID","version":"1.3.0","aliases":["$serverGuildAfkChannelID"],"description":"Returns the server's afk channel ID","brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildAfkTimeout","version":"1.3.0","description":"Returns the server's afk timeout","brackets":false,"aliases":["$serverAfkTimeout"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildApproximateMemberCount","version":"1.3.0","description":"Returns the approximated member count","brackets":false,"aliases":["$serverApproximateMemberCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildApproximatePresenceCount","version":"1.3.0","description":"Returns the approximated presence count","brackets":false,"aliases":["$serverApproximatePresenceCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildAutomodRules","version":"1.5.0","description":"Returns all automod rules of a guild","aliases":["$getAutomodRules"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get automod rules from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each automod rule to return","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildAvailable","version":"1.3.0","description":"Returns whether the server is available","brackets":false,"aliases":["$serverAvailable"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"unwrap":true,"category":"guild"},{"name":"$guildBanReason","version":"1.4.0","unwrap":true,"brackets":false,"aliases":["$banReason","$serverBanReason","$getBanReason","$getGuildBanReason","$getServerBanReason"],"output":["String"],"description":"Fetches a ban reason of a user","args":[{"name":"guild ID","description":"The guild to pull ban from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to pull ban reason","rest":false,"required":true,"type":"User"}],"category":"guild"},{"name":"$guildBannedMembers","version":"1.4.0","description":"Returns banned member ids of a guild","aliases":["$serverBannedMembers"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull banned members from"},{"name":"separator","rest":false,"type":"String","description":"The separator for each id"}],"output":["User[]"],"category":"guild"},{"name":"$guildBanner","version":"1.0.0","description":"Returns the guild banner","brackets":false,"aliases":["$serverBanner"],"args":[{"name":"guild ID","description":"The guild to retrieve the banner","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"unwrap":true,"category":"guild"},{"name":"$guildBoostCount","version":"1.0.0","description":"Returns the server boost count","brackets":false,"aliases":["$serverBoostCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildBoostLevel","version":"1.0.0","description":"Returns the server boost tier","brackets":false,"aliases":["$serverBoostLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildBoostProgressBarEnabled","version":"1.5.0","description":"Returns whether a guild has the boost progress bar enabled","aliases":["$serverBoostProgressBarEnabled"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildBoostRoleID","version":"1.0.0","description":"Returns the server boost role id","brackets":false,"aliases":["$serverBoostRoleID"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Role"],"unwrap":true,"category":"guild"},{"name":"$guildBoosterIDs","version":"1.5.0","description":"Returns all current boosters of a guild","brackets":false,"aliases":["$serverBoosterIDs"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every member","rest":false,"type":"String"}],"output":["Member[]"],"unwrap":true,"category":"guild"},{"name":"$guildBotCount","version":"1.0.0","description":"Returns the bot count of a guild","brackets":false,"aliases":["$serverBotCount"],"args":[{"name":"guild ID","description":"The guild to retrieve bot count from","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildChannelCount","version":"1.0.0","description":"Returns the server channel count","brackets":false,"aliases":["$serverChannelCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get channels from","rest":false,"type":"Guild","required":true},{"name":"categories","description":"The categories to filter by","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"type":"Enum","enumName":"ChannelType"}],"category":"guild"},{"name":"$guildChannelExists","version":"1.0.0","description":"Returns whether a guild channel id exists","unwrap":true,"aliases":["$serverChannelExists"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to check for the guild channel","type":"Guild","rest":false,"required":true},{"name":"channel ID","description":"The role to guild channel","rest":false,"required":true,"type":"String"}],"category":"guild"},{"name":"$guildChannelIDs","version":"1.3.0","unwrap":true,"brackets":false,"aliases":["$serverChannelIDs"],"output":["Channel[]"],"description":"Returns every channel id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get channel ids from"},{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildCount","version":"1.0.0","description":"Returns the guild count","unwrap":false,"aliases":["$serverCount","$serversCount"],"output":["Number"],"category":"guild"},{"name":"$guildCreatedAt","version":"1.0.0","description":"Returns the server creation timestamp","brackets":false,"aliases":["$serverCreatedAt"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildDefaultMessageNotifications","version":"1.3.0","description":"Returns the default message notifications for this guild","brackets":false,"aliases":["$serverDefaultMessageNotifications"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["GuildDefaultMessageNotifications"],"unwrap":true,"category":"guild"},{"name":"$guildDescription","version":"1.0.0","description":"Returns the server description","brackets":false,"aliases":["$serverDescription"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["String"],"unwrap":true,"category":"guild"},{"name":"$guildDiscoverySplash","version":"1.3.0","description":"Returns the guild discovery splash","brackets":false,"aliases":["$serverDiscoverySplash"],"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the discovery splash","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildDmSpamDetectedAt","version":"2.2.0","description":"Returns when a direct message spam was detected on a guild","aliases":["$serverDmSpamDetectedAt"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildDmsDisabledUntil","version":"2.2.0","description":"Returns the direct messages disabled timestamp of a guild","aliases":["$serverDmsDisabledUntil"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildEmojiCount","version":"1.0.0","description":"Returns the emoji count of a guild","brackets":false,"aliases":["$serverEmojiCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get emotes from","rest":false,"type":"Guild","required":true},{"name":"type","description":"The type of the emotes to count","rest":false,"type":"Enum","enum":["normal","animated"],"enumName":"EmojiType"}],"category":"guild"},{"name":"$guildEmojiExists","version":"2.5.0","description":"Returns whether an emoji id exists on a guild","unwrap":true,"aliases":["$serverEmojiExists"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull emoji from","rest":false,"required":true,"type":"Guild"},{"name":"emoji ID","description":"The emoji to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildEmojiIDs","version":"1.3.0","unwrap":true,"aliases":["$serverEmojiIDs"],"output":["GuildEmoji[]"],"brackets":false,"description":"Returns every emoji id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get emoji ids from"},{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildEmojiLimit","version":"1.5.0","description":"Returns the emoji limit of a guild","brackets":false,"aliases":["$serverEmojiLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildEmojis","version":"1.3.0","unwrap":true,"aliases":["$serverEmojis"],"output":["String[]"],"brackets":false,"description":"Returns every emoji of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get emoji from"},{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildExists","version":"1.0.0","description":"Returns whether a guild id exists","unwrap":true,"aliases":["$serverExists"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to check","rest":false,"required":true,"type":"String"}],"category":"guild"},{"name":"$guildExplicitContentFilter","version":"1.3.0","description":"Returns the explicit content filter level for this guild","brackets":false,"aliases":["$serverExplicitContentFilter"],"output":["GuildExplicitContentFilter"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildFeatures","version":"1.0.0","description":"Returns the guild features","brackets":false,"aliases":["$serverFeatures"],"output":["GuildFeature[]"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildHasAnyFeatures","version":"1.4.0","description":"Returns whether this guild has any of the given features","unwrap":true,"brackets":true,"aliases":["$guildHasAnyFeature","$hasAnyGuildFeatures","$hasAnyGuildFeature"],"args":[{"name":"guild ID","description":"The guild to check for features","rest":false,"required":true,"type":"Guild"},{"name":"features","rest":true,"required":true,"type":"Enum","enum":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"description":"The features to check for","enumName":"GuildFeature"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHasFeatures","version":"1.4.0","description":"Returns whether this guild has all the given features","unwrap":true,"brackets":true,"aliases":["$hasGuildFeatures"],"args":[{"name":"guild ID","description":"The guild to check for features","rest":false,"required":true,"type":"Guild"},{"name":"features","rest":true,"required":true,"type":"Enum","enum":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"description":"The features to check for","enumName":"GuildFeature"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHasTemplate","version":"1.5.0","description":"Returns whether this guild has a template","unwrap":true,"brackets":false,"aliases":["$hasGuildTemplate"],"args":[{"name":"guild ID","description":"The guild to check for template","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHighestRoleID","version":"1.5.0","description":"Returns the highest role id of a guild","aliases":["$serverHighestRoleID"],"brackets":false,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to retrieve its highest role","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildID","version":"1.0.0","description":"Returns the guild id with given name","unwrap":true,"aliases":["$serverID"],"output":["Guild"],"brackets":false,"args":[{"name":"name","description":"The guild name to return the id","rest":true,"type":"String","required":true}],"category":"guild"},{"name":"$guildIDs","version":"1.0.0","description":"Returns all the guilds this bot is in","unwrap":true,"aliases":["$serverIDs"],"output":["Guild[]"],"brackets":false,"args":[{"name":"separator","description":"The separator for each guild","type":"String","required":true,"rest":false}],"category":"guild"},{"name":"$guildIcon","version":"1.0.0","description":"Returns the server icon","brackets":false,"aliases":["$serverIcon"],"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the guild icon","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildInviteExists","version":"2.4.0","description":"Returns whether a guild invite code exists","aliases":["$serverInviteExists"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull invites from","rest":false,"required":true,"type":"Guild"},{"name":"code","description":"The invite to check","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildInvites","version":"2.5.0","description":"Returns all invites of a guild","aliases":["$serverInvites"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull invites from"},{"name":"property","rest":false,"type":"Enum","description":"The property of the invites to return","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"},{"name":"separator","rest":false,"type":"String","description":"The separator to use for each property"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildInvitesDisabledUntil","version":"2.2.0","description":"Returns the invites disabled timestamp of a guild","aliases":["$serverInvitesDisabledUntil"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildLarge","version":"2.4.0","description":"Returns whether a guild is considered as large","unwrap":true,"brackets":false,"aliases":["$serverLarge"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildLeave","version":"1.0.0","description":"Leaves a guild","brackets":false,"aliases":["$serverLeave"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to leave","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildLowestRoleID","version":"1.5.0","description":"Returns the lowest role id of a guild","aliases":["$serverLowestRoleID"],"brackets":false,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to retrieve its lowest role","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMFALevel","version":"1.3.0","description":"Returns the mfa level for this guild","brackets":false,"aliases":["$serverMFALevel"],"output":["GuildMFALevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaxStageVideoChannelUsers","version":"1.3.0","description":"Returns the maximum video channel users for stage channels of this guild","brackets":false,"aliases":["$serverMaxStageVideoChannelUsers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaxVideoChannelUsers","version":"1.3.0","description":"Returns the maximum video channel users for this guild","brackets":false,"aliases":["$serverMaxVideoChannelUsers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumBitrate","version":"1.3.0","aliases":["$serverMaximumBitrate"],"output":["Number"],"description":"Returns the maximum bitrate for voice channels of this guild","brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumMembers","version":"1.3.0","description":"Returns the maximum members for this guild","brackets":false,"aliases":["$serverMaximumMembers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumPresences","version":"1.3.0","description":"Returns the maximum presences for this guild","brackets":false,"aliases":["$serverMaximumPresences"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMemberCount","version":"1.0.0","description":"Returns the user count of a guild","brackets":false,"aliases":["$serverMemberCount","$serverMembersCount"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve member count from","rest":false,"required":true,"type":"Guild"},{"name":"presence","description":"The presence of the users to count","rest":false,"type":"Enum","enum":["online","idle","dnd","offline"],"enumName":"PresenceStatus"},{"name":"count bots","description":"Whether to count bots","rest":false,"type":"Boolean"}],"unwrap":true,"category":"guild"},{"name":"$guildMemberIDs","version":"1.4.0","aliases":["$memberIDs","$serverMemberIDs"],"output":["Member[]"],"description":"Returns all cached member ids of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull members from"},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildNSFWLevel","version":"1.3.0","description":"Returns the nsfw level for this guild","brackets":false,"aliases":["$serverNSFWLevel"],"output":["GuildNSFWLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildName","version":"1.0.0","description":"Returns the server name","brackets":false,"aliases":["$serverName"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildNameAcronym","version":"1.3.0","description":"Returns the server name acronym","brackets":false,"aliases":["$serverNameAcronym"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildNames","version":"1.0.0","description":"Returns the server names of the bot","brackets":false,"aliases":["$serverNames"],"output":["String[]"],"args":[{"name":"separator","description":"The separator to use for each guild","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildOwnerID","version":"1.0.0","description":"Returns the server owner id","brackets":false,"aliases":["$serverOwnerID"],"output":["User"],"args":[{"name":"guild ID","description":"The guild to retrieve the owner from","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPartnered","version":"1.3.0","description":"Returns whether the server is partnered","brackets":false,"aliases":["$serverPartnered"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPreferredLocale","version":"1.3.0","description":"Returns the server's preferred locale","brackets":false,"aliases":["$serverPreferredLocale"],"output":["Locale"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPublicUpdatesChannelID","version":"1.3.0","description":"Returns the server's public updates channel ID","brackets":false,"aliases":["$serverPublicUpdatesChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildRaidDetectedAt","version":"2.2.0","description":"Returns when a raid was detected on a guild","aliases":["$serverRaidDetectedAt"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildRawData","version":"1.5.0","description":"Returns the raw data of a guild","aliases":["$serverRawData"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get raw data from","rest":false,"type":"Guild","required":true}],"output":["Json"],"category":"guild"},{"name":"$guildRoleCount","version":"1.0.0","description":"Returns the role count of a guild","brackets":false,"aliases":["$serverRoleCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get roles from","rest":false,"type":"Guild","required":true}],"category":"guild"},{"name":"$guildRoleIDs","version":"1.3.0","description":"Returns every role id of the guild","aliases":["$serverRoleIDs","$roleIDs"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get role ids from","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every role","rest":false,"type":"String"},{"name":"everyone","description":"Whether to include the @everyone role, defaults to true","rest":false,"type":"Boolean"}],"output":["Role[]"],"category":"guild"},{"name":"$guildRulesChannelID","version":"1.3.0","description":"Returns the server's rules channel ID","brackets":false,"aliases":["$serverRulesChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildSafetyAlertsChannelID","version":"1.3.0","description":"Returns the server's safety alerts channel ID","brackets":false,"aliases":["$serverSafetyAlertsChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildScheduledEvents","version":"2.6.0","description":"Returns all scheduled events of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get scheduled events from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of the scheduled events to return","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildShardID","version":"1.0.0","description":"Returns the server shard ID","brackets":false,"aliases":["$serverShardID"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildSoundboardLimit","version":"2.5.0","description":"Returns the soundboard sound limit of a guild","brackets":false,"unwrap":true,"aliases":["$serverSoundboardLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildSoundboardSounds","version":"2.4.0","description":"Returns all soundboard sounds of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get soundboard sounds from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each sound to return","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildSplashURL","version":"1.0.0","aliases":["$serverSplashURL"],"output":["URL"],"description":"Returns the guild splash url","brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the splash","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildStageInstances","version":"2.3.0","description":"Returns all active stage instances of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get stage instances from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each stage instance to return","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"enumName":"StageProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildStickerExists","version":"2.5.0","description":"Returns whether a sticker id exists on a guild","unwrap":true,"aliases":["$serverStickerExists"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull sticker from","rest":false,"required":true,"type":"Guild"},{"name":"sticker ID","description":"The sticker to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildStickerIDs","version":"1.3.0","unwrap":true,"aliases":["$serverStickerIDs"],"output":["Sticker[]"],"brackets":false,"description":"Returns every sticker id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get sticker ids from"},{"name":"separator","description":"The separator to use for every sticker","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildStickerLimit","version":"1.5.0","description":"Returns the sticker limit of a guild","brackets":false,"aliases":["$serverStickerLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildSystemChannelID","version":"1.0.0","description":"Returns the server's system channel ID","brackets":false,"aliases":["$serverSystemChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildTemplateCode","version":"2.4.0","description":"Returns the template code of a guild","unwrap":true,"brackets":false,"aliases":["$serverTemplateCode"],"args":[{"name":"guild ID","description":"The guild to get template from","rest":false,"required":true,"type":"Guild"}],"output":["Template"],"category":"guild"},{"name":"$guildTimedOutMembers","version":"1.5.0","description":"Returns all current timed out members of a guild","unwrap":true,"brackets":false,"aliases":["$serverTimedOutMembers"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every member","rest":false,"type":"String"}],"output":["Member[]"],"category":"guild"},{"name":"$guildVanityCode","version":"1.0.0","description":"Returns the guilds vanity code","unwrap":true,"aliases":["$serverVanityCode"],"output":["Invite"],"args":[{"name":"guild ID","description":"The guild to return its vanity code","rest":false,"type":"Guild","required":true}],"brackets":false,"category":"guild"},{"name":"$guildVanityUses","version":"1.0.0","description":"Returns the guilds vanity uses","unwrap":true,"aliases":["$serverVanityUses"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to return its vanity uses","rest":false,"type":"Guild","required":true}],"brackets":false,"category":"guild"},{"name":"$guildVerificationLevel","version":"1.3.0","description":"Returns the server verification level","brackets":false,"aliases":["$serverVerificationLevel"],"output":["GuildVerificationLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildVerified","version":"1.3.0","description":"Returns whether the server is verified","brackets":false,"aliases":["$serverVerified"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildWebhooks","version":"2.3.0","description":"Returns all webhooks of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"type":"Guild","required":true},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildWidgetChannelEnabled","version":"1.3.0","description":"Returns whether widget channel is enabled for this guild","brackets":false,"aliases":["$serverWidgetChannelEnabled"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildWidgetChannelID","version":"1.3.0","description":"Returns the widget channel for this guild","brackets":false,"aliases":["$serverWidgetChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$randomGuildID","version":"1.0.3","description":"Returns a random guild ID","unwrap":false,"aliases":["$randomServerID"],"output":["Guild"],"category":"guild"},{"name":"$registerGuildApplicationCommands","version":"1.4.0","description":"Registers all application commands with type: 1 to a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to register commands to","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildAFKChannel","version":"2.1.0","description":"Sets the AFK channel for a guild, returns bool","unwrap":true,"aliases":["$setServerAFKChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set AFK channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new AFK channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildAFKTimeout","version":"2.1.0","description":"Sets the AFK timeout for a guild, returns bool","unwrap":true,"aliases":["$setServerAFKTimeout"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set AFK timeout for","rest":false,"type":"Guild","required":true},{"name":"seconds","description":"The new AFK timeout in seconds (60, 300, 900, 1800, 3600)","rest":false,"required":true,"type":"Number"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildBanner","version":"1.0.0","description":"Sets a guild banner, returns boolean","unwrap":true,"aliases":["$setServerBanner"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set banner on"},{"name":"url","description":"The new banner","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildBoostProgressBar","version":"1.5.0","description":"Sets a guild boost progress bar, returns bool","aliases":["$setServerBoostProgressBar"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to set boost progress bar for","rest":false,"required":true,"type":"Guild"},{"name":"enabled","description":"Whether to enable the boost progress bar","rest":false,"required":true,"type":"Boolean"},{"name":"reason","description":"The reason for enabling/disabling boost progress bar","rest":false,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildDefaultMessageNotifications","version":"2.1.0","description":"Sets the default message notifications setting for a guild, returns bool","unwrap":true,"aliases":["$setServerDefaultMessageNotifications"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set default message notifications for","rest":false,"type":"Guild","required":true},{"name":"setting","description":"The new default message notifications setting","rest":false,"type":"Enum","enum":["AllMessages","OnlyMentions"],"enumName":"GuildDefaultMessageNotifications"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildDiscoverySplash","version":"2.1.0","description":"Sets the discovery splash for a guild, returns bool","unwrap":true,"aliases":["$setServerDiscoverySplash"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set discovery splash for","rest":false,"type":"Guild","required":true},{"name":"url","description":"The new discovery splash","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildDmsDisabled","version":"2.6.0","description":"Sets the guild's DMs activity disabled for a specific duration, returns bool","aliases":["$setServerDmsDisabled"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to disable DMs for","rest":false,"required":true,"type":"Guild"},{"name":"duration","description":"The duration for disabling DMs, omit to enable DMs again","rest":false,"type":"Time"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildExplicitContentFilter","version":"2.1.0","description":"Sets the explicit content filter for a guild, returns bool","unwrap":true,"aliases":["$setServerExplicitContentFilter"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set explicit content filter for","rest":false,"type":"Guild","required":true},{"name":"filter","description":"The new explicit content filter","rest":false,"type":"Enum","enum":["Disabled","MembersWithoutRoles","AllMembers"],"enumName":"GuildExplicitContentFilter"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildIcon","version":"1.0.0","description":"Sets a guild icon, returns boolean","unwrap":true,"aliases":["$setServerIcon"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set icon on"},{"name":"url","description":"The new icon","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildInvitesDisabled","version":"2.6.0","description":"Sets the guild's invites disabled for a specific duration, returns bool","aliases":["$setServerInvitesDisabled"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to disable invites for","rest":false,"required":true,"type":"Guild"},{"name":"duration","description":"The duration for disabling invites, omit to enable invites again","rest":false,"type":"Time"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildMFALevel","version":"2.1.0","description":"Sets the MFA level for a guild, returns bool","unwrap":true,"deprecated":true,"aliases":["$setServerMFALevel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set MFA level for","rest":false,"type":"Guild","required":true},{"name":"level","description":"The new MFA level","rest":false,"required":true,"type":"Enum","enum":["None","Elevated"],"enumName":"GuildMFALevel"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildName","version":"1.0.0","description":"Sets a guild name, returns boolean","unwrap":true,"aliases":["$setServerName"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set name"},{"name":"name","description":"The new name","rest":false,"required":true,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildOwner","version":"2.1.0","description":"Sets the owner of a guild, returns bool","unwrap":true,"deprecated":true,"aliases":["$setServerOwner"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set owner on","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The new owner","rest":false,"required":true,"type":"Member","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildPausedInvites","version":"1.5.0","description":"Sets a guild paused invite status, returns bool","aliases":["$setServerPausedInvites"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to set paused invites for","rest":false,"required":true,"type":"Guild"},{"name":"disabled","description":"Whether to disable the invites","rest":false,"required":true,"type":"Boolean"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildPreferredLocale","version":"2.1.0","description":"Sets the preferred locale of a guild, returns bool","unwrap":true,"aliases":["$setServerPreferredLocale"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set preferred locale on","rest":false,"type":"Guild","required":true},{"name":"locale","description":"The new preferred locale","rest":false,"type":"Enum","enum":["Indonesian","EnglishUS","EnglishGB","Bulgarian","ChineseCN","ChineseTW","Croatian","Czech","Danish","Dutch","Finnish","French","German","Greek","Hindi","Hungarian","Italian","Japanese","Korean","Lithuanian","Norwegian","Polish","PortugueseBR","Romanian","Russian","SpanishES","SpanishLATAM","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"enumName":"Locale"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildPublicUpdatesChannel","version":"2.1.0","description":"Sets the public updates channel for a guild, returns bool","unwrap":true,"aliases":["$setServerPublicUpdatesChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set public updates channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new public updates channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildRulesChannel","version":"2.1.0","description":"Sets the rules channel for a guild, returns bool","unwrap":true,"aliases":["$setServerRulesChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set rules channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new rules channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSafetyAlertsChannel","version":"2.1.0","description":"Sets the safety alerts channel for a guild, returns bool","unwrap":true,"aliases":["$setServerSafetyAlertsChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set safety alerts channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new safety alerts channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSplash","version":"1.0.0","description":"Sets a guild splash, returns boolean","unwrap":true,"aliases":["$setServerSplash"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set splash on"},{"name":"url","description":"The new splash","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSystemChannel","version":"2.1.0","description":"Sets the system channel for a guild, returns bool","unwrap":true,"aliases":["$setServerSystemChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set system channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new system channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildVerificationLevel","version":"2.1.0","description":"Sets the verification level of a guild, returns bool","unwrap":true,"aliases":["$setServerVerificationLevel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set verification level on","rest":false,"type":"Guild","required":true},{"name":"level","description":"The new verification level","rest":false,"type":"Enum","enum":["None","Low","Medium","High","VeryHigh"],"enumName":"GuildVerificationLevel"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildWidgetSettings","version":"2.1.0","description":"Sets the widget settings of a guild, returns bool","unwrap":true,"aliases":["$setServerWidgetSettings"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set widget settings on","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The invite channel for the widget","rest":false,"type":"Channel"},{"name":"enabled","description":"Whether to enable the widget","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$syncGuildTemplate","version":"2.4.0","description":"Syncs this template to the current state of the guild, returns bool","aliases":["$syncServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to sync","rest":false,"required":true,"type":"Template"}],"output":["Boolean"],"category":"guild"},{"name":"$httpAddForm","version":"1.4.0","description":"Adds form data to request","unwrap":false,"category":"http"},{"name":"$httpAddHeader","version":"1.0.0","description":"Adds an HTTP header","unwrap":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true},{"name":"value","description":"The header value","rest":true,"type":"String","required":true}],"brackets":true,"category":"http"},{"name":"$httpAppendFile","version":"1.4.0","description":"Appends a file to form data","brackets":true,"unwrap":true,"args":[{"name":"key","description":"The key name to add this value to","rest":false,"required":true,"type":"String"},{"name":"url / path","type":"Attachment","rest":false,"required":true,"description":"The path or url to use"}],"category":"http"},{"name":"$httpAppendValue","version":"1.4.0","description":"Appends a key-value to form data","brackets":true,"unwrap":true,"args":[{"name":"key","description":"The key name to add this value to","rest":false,"required":true,"type":"String"},{"name":"value","type":"String","rest":false,"required":true,"description":"The value to set"}],"category":"http"},{"name":"$httpGetHeader","version":"1.5.0","description":"Gets an HTTP header","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true}],"output":["String"],"category":"http"},{"name":"$httpPing","version":"1.5.0","description":"Returns the response time of the HTTP request","aliases":["$httpResponseTime"],"unwrap":false,"experimental":true,"output":["Number"],"category":"http"},{"name":"$httpRemoveHeader","version":"1.0.0","description":"Removes an HTTP header","unwrap":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true}],"brackets":true,"category":"http"},{"name":"$httpRequest","version":"1.0.0","description":"Performs an http request, returns the status code","output":["Number"],"args":[{"name":"url","description":"The url to perform this request to","type":"String","rest":false,"required":true},{"name":"method","description":"The method to use","rest":false,"required":true,"type":"String"},{"name":"variable","description":"Environment variable name to load the response to","rest":false,"required":false,"type":"String"}],"brackets":true,"unwrap":true,"category":"http"},{"name":"$httpResult","version":"1.2.0","description":"Retrieve an http result value","brackets":false,"unwrap":true,"args":[{"name":"key","description":"The key to return its value","required":true,"type":"String","rest":true}],"output":["Json","Unknown"],"category":"http"},{"name":"$httpSetBody","version":"1.0.0","description":"Sets a JSON body for the request","args":[{"name":"body","description":"The JSON body","rest":false,"required":true,"type":"String"}],"unwrap":true,"brackets":true,"category":"http"},{"name":"$httpSetContentType","version":"1.4.0","description":"Forces the http request to be decoded using given content type","args":[{"name":"type","description":"The content type of the result","required":true,"type":"Enum","enum":["Json","Text"],"rest":false,"enumName":"HTTPContentType"}],"brackets":true,"unwrap":true,"category":"http"},{"name":"$applicationCommandDescription","version":"1.0.7","description":"Returns an application command description","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its description","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandDisplay","version":"1.4.0","description":"Gets the full command interaction with all options","unwrap":true,"brackets":false,"args":[{"name":"hide option name","description":"Whether to suppress option names from being displayed","rest":false,"required":true,"type":"Boolean"}],"output":["String"],"category":"interaction"},{"name":"$applicationCommandID","version":"1.0.7","description":"Returns the application command id","brackets":false,"args":[{"name":"name","description":"The name of the command to pull its id","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandName","version":"1.0.7","description":"Returns an application command name","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its name","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandOptions","version":"1.5.0","description":"Returns an application command options in JSON format","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its options","rest":false,"required":true,"type":"String"}],"output":["Json"],"unwrap":true,"category":"interaction"},{"name":"$applicationSubCommandGroupName","version":"1.5.0","description":"Returns the application sub command group name of this interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$applicationSubCommandName","version":"1.5.0","description":"Returns the application sub command name of this interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$authorizingIntegrationOwners","version":"1.5.0","description":"Returns the authorizing integration owners of this interaction","unwrap":true,"brackets":false,"args":[{"name":"type","description":"The type of authorizing integration owners to return","rest":false,"required":true,"type":"Enum","enum":["Guild","User"],"enumName":"AuthorizingIntegrationOwnersType"}],"output":["Json","User","Guild"],"category":"interaction"},{"name":"$autocomplete","version":"1.0.6","description":"Forces autocomplete response","unwrap":false,"category":"interaction"},{"name":"$context","version":"1.5.0","description":"Returns the context of this interaction","aliases":["$interactionContext"],"unwrap":false,"output":["InteractionContextType"],"category":"interaction"},{"name":"$customID","version":"1.0.0","description":"Retrieves the custom id of the interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$defer","version":"1.0.0","description":"Defers this interaction","unwrap":false,"category":"interaction"},{"name":"$deferUpdate","version":"1.3.0","description":"Defers this interaction as an update","unwrap":false,"category":"interaction"},{"name":"$ephemeral","version":"1.0.0","description":"Marks this reply as ephemeral","unwrap":false,"category":"interaction"},{"name":"$focusedOptionName","version":"1.0.6","description":"Returns the focused option of the command","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$focusedOptionValue","version":"1.0.6","description":"Returns the focused option value of the command","unwrap":false,"output":["Unknown"],"category":"interaction"},{"name":"$input","version":"1.0.0","description":"Returns the value from a modal field","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id to get its field value","rest":false,"type":"String","required":true},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["String"],"category":"interaction"},{"name":"$interactionDelete","version":"1.4.0","description":"Deletes this interaction's reply","unwrap":false,"category":"interaction"},{"name":"$interactionFollowUp","version":"1.2.0","description":"Forces an interaction follow up","unwrap":true,"brackets":false,"output":["Message"],"args":[{"name":"content","description":"The content to use for this follow up","required":true,"type":"String","rest":false},{"name":"return message ID","description":"Whether to fetch and return the message id of the follow up","rest":false,"type":"Boolean","required":false}],"category":"interaction"},{"name":"$interactionRawData","version":"1.5.0","description":"Returns the raw data of this interaction","unwrap":false,"output":["Json"],"category":"interaction"},{"name":"$interactionReply","version":"1.0.0","description":"Forces an interaction reply","unwrap":true,"brackets":false,"output":["Message"],"args":[{"name":"content","description":"The content to use for this response","required":true,"type":"String","rest":false},{"name":"return message ID","description":"Whether to fetch and return the message id of the reply","rest":false,"type":"Boolean","required":false}],"category":"interaction"},{"name":"$interactionRequirePremium","version":"1.5.0","description":"Requires premium to use this interaction","unwrap":false,"deprecated":true,"category":"interaction"},{"name":"$interactionUpdate","version":"1.0.3","description":"Forces an interaction update","unwrap":true,"brackets":false,"args":[{"name":"content","description":"The content to use for this response","required":true,"type":"String","rest":false}],"category":"interaction"},{"name":"$isActivityCommand","version":"2.4.0","description":"Returns whether the interaction is an activity command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isAnySelectMenu","version":"1.0.0","output":["Boolean"],"description":"Returns whether the context is a select menu","unwrap":false,"category":"interaction"},{"name":"$isAutocomplete","version":"1.0.6","description":"Returns whether the interaction is autocomplete","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isButton","version":"1.0.0","description":"Returns whether the interaction is a button","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isChannelSelectMenu","version":"1.0.0","description":"Returns whether the context is a channel select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isCommand","version":"1.0.6","description":"Returns whether the interaction is a command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isContextMenu","version":"1.0.6","description":"Returns whether the interaction is a context menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isMentionableSelectMenu","version":"1.0.0","description":"Returns whether the context is a mentionable select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isModal","version":"1.0.0","description":"Returns whether the context is a modal","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isRepliable","version":"1.5.0","description":"Returns whether this interaction can be replied to","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isRoleSelectMenu","version":"1.0.0","description":"Returns whether the context is a role select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isSlashCommand","version":"1.4.0","description":"Returns whether the interaction is a slash command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isStringSelectMenu","version":"1.0.0","description":"Returns whether the context is a string select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isUserSelectMenu","version":"1.0.0","description":"Returns whether the context is a user select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$launchActivity","version":"2.4.0","description":"Launches the activity of the client, if enabled","unwrap":false,"category":"interaction"},{"name":"$locale","aliases":["$interactionLocale"],"version":"1.4.0","description":"Retrieves the user locale of the interaction","unwrap":false,"output":["Locale"],"category":"interaction"},{"name":"$modal","version":"1.0.0","description":"Creates a modal","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this modal","rest":false,"type":"String","required":true},{"name":"title","description":"The title for the modal","rest":false,"required":true,"type":"String"}],"category":"interaction"},{"name":"$option","version":"1.0.6","description":"Returns an option value with given name (interaction command)","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"option name","description":"The option name to retrieve its value","rest":false,"required":true,"type":"String"}],"category":"interaction"},{"name":"$selectMenuValues","version":"1.0.0","description":"Returns select menu values","brackets":false,"args":[{"name":"index","description":"The index of the value","type":"Number","rest":false},{"name":"separator","description":"The separator to use for each value","type":"String","rest":false}],"output":["String[]"],"unwrap":true,"category":"interaction"},{"name":"$showModal","version":"1.4.0","description":"Shows the modal immediately","unwrap":false,"category":"interaction"},{"name":"$targetMember","version":"2.3.0","description":"Retrieves data of the target member","unwrap":true,"brackets":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"interaction"},{"name":"$targetMessage","version":"1.5.0","description":"Retrieves data of the target message","unwrap":true,"brackets":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"Separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"interaction"},{"name":"$targetMessageEmbeds","version":"1.5.0","description":"Retrieves data of embeds from the target message","aliases":["$targetMessageEmbed"],"unwrap":true,"brackets":false,"args":[{"name":"embed index","description":"The embed index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"required":false,"enumName":"EmbedProperty"},{"name":"field index","description":"The index of the field to get","rest":false,"type":"Number"}],"output":["Json","Unknown"],"category":"interaction"},{"name":"$deleteInvite","version":"1.0.0","brackets":true,"description":"Deletes an invite, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"reason","description":"The reason for deleting the invite","rest":false,"type":"String"}],"category":"invite"},{"name":"$getInvite","version":"2.2.0","description":"Returns information about an invite","brackets":true,"unwrap":true,"output":["Json","Unknown"],"args":[{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property of the invite to return","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"}],"category":"invite"},{"name":"$inviteExists","version":"1.0.0","description":"Returns whether an invite code exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"code","description":"The invite to check","rest":false,"required":true,"type":"String"}],"category":"invite"},{"name":"$inviterCode","version":"1.0.3","description":"Returns the invite code that was used by this person","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get its invite code","rest":false,"required":true,"type":"Member","pointer":0}],"output":["Invite"],"category":"invite"},{"name":"$inviterID","version":"1.0.3","description":"Returns the user who invited this person","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get its inviter","rest":false,"required":true,"type":"Member","pointer":0}],"output":["User"],"category":"invite"},{"name":"$isJSON","version":"1.4.0","aliases":["$isValidJSON"],"description":"Checks whether given JSON is valid","unwrap":true,"brackets":true,"args":[{"name":"json","description":"The json to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"json"},{"name":"$jsonAssign","version":"2.6.0","description":"Combines multiple JSON objects into a single JSON object","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable that holds the target object","required":true,"type":"String","rest":false},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","type":"String","rest":false},{"name":"objects","description":"The objects from which to copy properties","type":"Json","required":true,"rest":true}],"output":["Json"],"category":"json"},{"name":"$jsonDelete","version":"1.4.0","description":"Deletes a key from a traversed JSON","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"keys","description":"The keys to use to traverse the object","rest":true,"required":true,"type":"String"}],"category":"json"},{"name":"$jsonEntries","version":"1.4.0","description":"Gets entries from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get entries from","rest":false,"type":"String","required":true}],"output":["Json"],"unwrap":true,"category":"json"},{"name":"$jsonHas","version":"2.2.0","description":"Returns whether a key exists in a JSON object","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable that holds json","required":true,"type":"String","rest":false},{"name":"key","description":"The key to check for","type":"String","required":true,"rest":false}],"output":["Boolean"],"category":"json"},{"name":"$jsonKeys","version":"1.4.0","description":"Gets keys from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get keys from","rest":false,"type":"String","required":true}],"output":["Json"],"unwrap":true,"category":"json"},{"name":"$jsonLoad","version":"1.0.0","description":"Loads JSON to an env variable","brackets":true,"args":[{"name":"variable","description":"The variable to load json to","rest":false,"type":"String","required":true},{"name":"json","description":"The json data","type":"Json","required":true,"rest":false}],"unwrap":true,"category":"json"},{"name":"$jsonSet","version":"1.2.0","description":"Adds a JSON key with a value","unwrap":true,"brackets":true,"args":[{"name":"keys;value","description":"The keys to traverse, with the value to use at the end","type":"String","rest":true,"required":true}],"output":["Boolean"],"category":"json"},{"name":"$jsonStringify","version":"1.5.0","output":["Json"],"description":"Returns the JSON in stringified format","args":[{"name":"variable","description":"The variable to stringify","required":true,"type":"String","rest":false},{"name":"space","description":"The space to use","type":"Number","rest":false}],"brackets":true,"unwrap":true,"category":"json"},{"name":"$jsonValues","version":"1.4.0","description":"Gets values from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get values from","rest":false,"type":"String","required":true},{"name":"separator","description":"The separator to use for each value","type":"String","rest":false}],"output":["Json","Unknown[]"],"unwrap":true,"category":"json"},{"name":"$onlyForCategories","version":"1.5.0","description":"Only executes code if given ids match the current category","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if category is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"channels","pointer":0,"description":"The categories to check for","rest":true,"required":true,"type":"Channel"}],"category":"limiter"},{"name":"$onlyForChannels","version":"1.5.0","description":"Only executes code if given ids match the current channel","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if channel is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"channels","pointer":0,"description":"The channels to check for","rest":true,"required":true,"type":"Channel"}],"category":"limiter"},{"name":"$onlyForGuilds","version":"1.1.0","description":"Only executes code if given ids match the guild","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if guild is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"guilds","description":"The guilds to check for","rest":true,"required":true,"type":"Guild"}],"category":"limiter"},{"name":"$onlyForRoles","version":"1.1.0","description":"Only executes code if user has given roles","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if user does not meet the roles","rest":false,"required":true,"type":"String"},{"name":"roles","pointer":0,"description":"The roles to check for","rest":true,"required":true,"type":"Role"}],"category":"limiter"},{"name":"$onlyForUsers","version":"1.1.0","description":"Only executes code if given ids match the author","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if user is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"users","description":"The users to check for","rest":true,"required":true,"type":"User"}],"category":"limiter"},{"name":"$onlyIf","version":"1.0.0","description":"Stop execution if condition is not matched","unwrap":false,"brackets":true,"args":[{"name":"condition","condition":true,"description":"The condition to use","rest":false,"type":"String","required":true},{"name":"code","description":"The code to execute if error","rest":false,"type":"String"}],"category":"limiter"},{"name":"$stop","version":"1.0.0","description":"Stops code execution","unwrap":false,"category":"limiter"},{"name":"$chalkLog","version":"2.3.0","description":"Logs styled text to the console using Chalk","unwrap":true,"brackets":true,"args":[{"name":"text","description":"The text to log","type":"String","required":true,"rest":false},{"name":"styles","description":"The styles to apply to the text","type":"String","required":true,"rest":true}],"category":"logging"},{"name":"$log","version":"1.0.0","description":"Log something to console","unwrap":true,"args":[{"name":"message","description":"The message to log to console","rest":true,"type":"String","required":true}],"brackets":true,"category":"logging"},{"name":"$logger","version":"1.3.0","description":"Implements Logger API of ForgeScript","unwrap":true,"brackets":true,"args":[{"name":"log type","description":"The log type","enum":["Warn","Deprecated","Debug","Info","Error"],"type":"Enum","required":true,"rest":false,"enumName":"LogType"},{"name":"text","description":"The text to log","rest":false,"required":true,"type":"String"}],"category":"logging"},{"name":"$findApplicationEmoji","version":"2.2.0","description":"Finds an application emoji of the client","brackets":true,"output":["ApplicationEmoji"],"args":[{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findChannel","version":"1.0.0","description":"Finds a channel","brackets":true,"output":["Channel"],"args":[{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"return channel","description":"Returns the current channel id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findChannels","version":"1.5.0","description":"Finds channels of a guild using a query","brackets":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to find the channels on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"method","description":"The method to use for searching","rest":false,"type":"Enum","enum":["startsWith","endsWith","includes"],"enumName":"SearchMethodType"}],"unwrap":true,"category":"lookup"},{"name":"$findEmoji","version":"1.0.0","description":"Finds an emoji","brackets":true,"output":["Emoji"],"args":[{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findGuild","version":"2.2.0","description":"Finds a guild","brackets":true,"output":["Guild"],"args":[{"name":"query","description":"The id or guild name to find","rest":false,"type":"String","required":true},{"name":"return guild","description":"Returns the current guild id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findGuildChannel","version":"1.0.0","description":"Finds a channel of a guild","brackets":true,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to find the channel on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"return channel","description":"Returns the current channel id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findGuildEmoji","version":"1.0.0","description":"Finds an emoji of a guild","brackets":true,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to find the emoji on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findMember","version":"1.0.0","description":"Finds a member of a guild","brackets":true,"output":["Member"],"args":[{"name":"guild ID","description":"The guild to find the member on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or name to find","rest":false,"type":"String","required":true},{"name":"return author","description":"Returns the current author id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findMembers","version":"1.4.0","description":"Finds member of a guild using a query","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to use","rest":false,"required":true,"type":"Guild"},{"name":"query","description":"The query to use","rest":false,"required":true,"type":"String"},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"enum value","description":"The enum value to use","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"lookup"},{"name":"$findRole","version":"1.0.0","description":"Finds a role of a guild","brackets":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to find the role on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or role name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findRoles","version":"1.5.0","description":"Finds roles of a guild using a query","brackets":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to find the roles on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or role name to find","rest":false,"type":"String","required":true},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"method","description":"The method to use for searching","rest":false,"type":"Enum","enum":["startsWith","endsWith","includes"],"enumName":"SearchMethodType"}],"unwrap":true,"category":"lookup"},{"name":"$findUser","version":"1.0.0","description":"Finds a user","brackets":true,"output":["User"],"args":[{"name":"query","description":"The id, mention or user name to find","rest":false,"type":"String","required":true},{"name":"return author","description":"Returns the current author id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$abs","version":"1.0.1","description":"Returns the absolute value of a number (the value without regard to whether it is positive or negative)","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$base","version":"1.1.0","description":"Convert number from one base to another","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The target number for conversion","type":"String","rest":false,"required":true},{"name":"to","description":"The target base","type":"Number","rest":false,"required":true},{"name":"from","description":"The source base","type":"Number","rest":false}],"category":"math"},{"name":"$bigintDivide","version":"1.3.0","description":"Divides multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to divide","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintMulti","version":"1.3.0","description":"Multiplies multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to multiply","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintSub","version":"1.3.0","description":"Subtracts multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to sub","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintSum","version":"1.3.0","description":"Adds multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to add","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$ceil","version":"1.5.0","description":"Returns the smallest integer greater than or equal to its numeric argument","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$divide","version":"1.0.0","description":"Divides multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to divide","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$floor","version":"1.0.0","description":"Returns the greatest integer less than or equal to its numeric argument","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$logn","version":"1.0.0","description":"Returns the natural logarithm (base e) of a number","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"Number to get its logarithm","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$math","version":"1.0.0","description":"Runs math expression, returns nothing if incorrect expression","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"expr","description":"The math expression to run","rest":false,"type":"String","required":true}],"category":"math"},{"name":"$max","version":"1.0.7","description":"Returns the largest number of the ones given","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers among which to find the largest","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$min","version":"1.0.7","description":"Returns the smallest number of the ones given","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"numbers","description":"Numbers among which to find the smallest","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$modulo","version":"1.0.0","description":"Returns the remainder of multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to get their remainders","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$multi","version":"1.0.0","description":"Multiplies multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to multiply","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$pi","version":"2.2.0","description":"Returns the constant pi","unwrap":false,"output":["Number"],"category":"math"},{"name":"$pow","version":"1.0.0","aliases":["$power"],"description":"Exponentially multiply multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to power by","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$round","version":"1.0.0","description":"Rounds provided number to a certain number of decimal places","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true},{"name":"decimal places","description":"The number of decimal places to round to","rest":false,"type":"Number"}],"category":"math"},{"name":"$sign","version":"2.2.0","description":"Returns the sign of the x, indicating whether x is positive, negative or zero","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$sqrt","version":"1.0.0","description":"Returns the square root of a number","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$sub","version":"1.0.0","description":"Subtracts multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to sub","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$sum","version":"1.0.0","description":"Adds multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to add","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$trunc","version":"1.0.0","description":"Returns the integer part of the a numeric expression, x, removing any fractional digits. If x is already an integer, the result is x","aliases":["$truncate"],"brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$ban","version":"1.0.0","aliases":["$memberBan","$banMember"],"description":"Bans a member from the guild, returns true or false depending on whether the action was successfully performed","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to ban a member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to ban","rest":false,"type":"User","required":true},{"name":"reason","description":"The reason to ban for","rest":false,"type":"String"},{"name":"delete message seconds","description":"Delete messages from this member that were sent in this seconds time span","rest":false,"type":"Number"}],"category":"member"},{"name":"$fetchMembers","version":"1.0.0","description":"Caches all members of a guild","aliases":["$fetchMember"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache members of","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to fetch","rest":false,"type":"Member","pointer":0}],"category":"member"},{"name":"$hasAnyPerms","version":"1.4.0","description":"Returns whether given member has any of the provided perms","unwrap":true,"aliases":["$memberHasAnyPerms"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for perms","rest":false,"type":"Member","required":true,"pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"required":true,"enumName":"PermissionFlagsBits"}],"category":"member"},{"name":"$hasAnyRole","version":"1.1.0","description":"Returns whether given member has any role","unwrap":true,"aliases":["$memberHasAnyRole"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for roles","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to check for","rest":true,"type":"Role","required":true,"pointer":0}],"category":"member"},{"name":"$hasPerms","version":"1.0.0","description":"Returns whether given member has X perms","unwrap":true,"aliases":["$memberHasPerms"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for perms","rest":false,"type":"Member","required":true,"pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"required":true,"enumName":"PermissionFlagsBits"}],"category":"member"},{"name":"$hasRoles","version":"1.1.0","description":"Returns whether given member has all roles","unwrap":true,"aliases":["$memberHasRoles"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for roles","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to check for","rest":true,"type":"Role","required":true,"pointer":0}],"category":"member"},{"name":"$isBanned","version":"1.0.0","brackets":true,"unwrap":true,"aliases":["$memberIsBanned"],"output":["Boolean"],"description":"Returns whether this user is banned","args":[{"name":"guild ID","description":"The guild to check bans on","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check ban","rest":false,"type":"User","required":true}],"category":"member"},{"name":"$isBoosting","description":"Returns whether this member is boosting","version":"1.5.0","aliases":["$isBooster","$memberIsBooster","$memberIsBoosting"],"brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check boost status for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isDeaf","version":"1.0.0","description":"Whether a member is deafened","brackets":false,"unwrap":true,"aliases":["$memberIsDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isGuildDeaf","version":"1.0.0","description":"Whether a member is server deafened","brackets":false,"aliases":["$memberIsGuildDeaf"],"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isGuildMuted","version":"1.0.0","description":"Whether a member is server muted","brackets":false,"aliases":["$memberIsGuildMuted"],"output":["Boolean"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isMuted","version":"1.0.0","description":"Whether a member is muted","brackets":false,"unwrap":true,"aliases":["$memberIsMuted"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isSelfDeaf","version":"1.0.0","description":"Whether a member is self deafened","brackets":false,"unwrap":true,"aliases":["$memberIsSelfDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isSelfMuted","version":"1.0.0","description":"Whether a member is self muted","brackets":false,"unwrap":true,"aliases":["$memberIsSelfMuted"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isTimedOut","version":"1.0.0","description":"Whether an member is timed out","unwrap":true,"brackets":false,"aliases":["$memberIsTimedOut"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to check for timeout","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isVerified","version":"1.0.0","aliases":["$memberIsVerified"],"description":"Whether a member is verified","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$kickMember","version":"1.0.0","description":"Kicks a member from the guild, returns true or false depending on whether the action was successfully performed","unwrap":true,"brackets":true,"aliases":["$memberKick"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to kick a member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to kick","rest":false,"type":"Member","pointer":0,"required":true},{"name":"reason","description":"The reason to kick for","rest":false,"type":"String"}],"category":"member"},{"name":"$memberActivity","version":"1.5.0","description":"Returns the activity of a member","aliases":["$activity","$userActivity","$memberActivities"],"unwrap":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to pull the member from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The member to return its activity","required":true,"rest":false,"type":"Member","pointer":0},{"name":"property","description":"The property of the activity to return","rest":false,"type":"Enum","enum":["name","type","details","buttons","flags","timestamp","endTimestamp","startTimestamp","partyID","partySize","syncID","url","largeText","largeImage","smallText","smallImage"],"enumName":"ActivityProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"brackets":false,"category":"member"},{"name":"$memberAddRoles","version":"1.0.0","description":"Adds roles to a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to add roles to","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to add","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberAvatar","version":"1.0.0","description":"Returns the member avatar","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to retrieve the avatar","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$memberAvatarDecoration","version":"2.4.0","description":"Returns the member's avatar decoration","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its avatar decoration","pointer":0,"rest":false,"type":"Member","required":true}],"output":["URL"],"category":"member"},{"name":"$memberBanner","version":"2.1.0","description":"Returns the member banner","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to retrieve the banner","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$memberBoostingSince","version":"1.5.0","aliases":["$boostingSince","$boosterSince","$memberBoosterSince"],"brackets":false,"unwrap":true,"output":["Number"],"description":"Returns when the member started boosting the guild","args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check boost status for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$memberBotRoleID","version":"2.6.0","description":"Returns the managed bot role of a member, only available for bots","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get the managed bot role from","rest":false,"pointer":0,"type":"Member","required":true}],"output":["Role"],"category":"member"},{"name":"$memberCustomStatus","version":"1.5.0","aliases":["$customStatus","$userCustomStatus"],"description":"Returns the custom status of a member","unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull the user from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The user to return its custom status","required":true,"rest":false,"type":"Member"},{"name":"type","description":"The type of the custom status to fetch","rest":false,"type":"Enum","enum":["state","emoji"],"enumName":"CustomStatusType"}],"brackets":false,"category":"member"},{"name":"$memberDisplayColor","version":"1.0.0","description":"Returns the display color of a member","unwrap":true,"brackets":false,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its color","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberDisplayName","version":"2.3.0","description":"Returns the display name of a member","unwrap":true,"brackets":false,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its display name","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberExists","version":"1.0.0","description":"Returns whether an member id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to check for the member","type":"Guild","rest":false,"required":true},{"name":"member ID","description":"The member to check for","rest":false,"required":true,"type":"String"}],"category":"member"},{"name":"$memberFlags","version":"1.5.0","description":"Returns the flags of a member","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its flags","rest":false,"type":"Member","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["GuildMemberFlags[]"],"category":"member"},{"name":"$memberHighestRoleID","version":"1.0.0","description":"Returns the highest role id of a member","unwrap":true,"output":["Role"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its highest role id","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberJoinPosition","version":"1.5.0","description":"Returns the position at which the member joined the guild","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its join position","rest":false,"pointer":0,"type":"Member","required":true}],"category":"member"},{"name":"$memberJoinedAt","version":"1.0.0","description":"Returns the timestamp the member joined at","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its join date","rest":false,"pointer":0,"type":"Member","required":true}],"category":"member"},{"name":"$memberLowestRoleID","version":"1.5.0","description":"Returns the lowest role id of a member","unwrap":true,"output":["Role"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its lowest role id","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberPerms","version":"1.0.0","description":"Returns the member perms","brackets":false,"unwrap":true,"output":["PermissionFlagsBits[]"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its perms","rest":false,"type":"Member","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false},{"name":"return int","description":"Whether to return the perms as bitfield int","type":"Boolean","rest":false}],"category":"member"},{"name":"$memberRawData","version":"1.5.0","description":"Returns the raw data of a member","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get raw data from","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Json"],"category":"member"},{"name":"$memberRemoveRoles","version":"1.0.0","description":"Removes roles from a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to remove roles from","rest":false,"type":"Member","required":true},{"name":"roles","description":"The roles to remove","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberRoles","version":"1.0.0","description":"Returns the role ids of a member","unwrap":true,"brackets":false,"output":["Role[]"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get roles from","rest":false,"pointer":0,"type":"Member","required":true},{"name":"separator","description":"The separator to use for each role","rest":false,"type":"String"}],"category":"member"},{"name":"$memberSetNickname","version":"1.0.7","description":"Edits a member's nickname, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to edit its nickname","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"nickname","description":"The new nickname, leave empty to reset","rest":false,"type":"String"}],"category":"member"},{"name":"$memberSetRoles","version":"1.0.0","description":"Sets roles to a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to set roles to","rest":false,"type":"Member","pointer":0,"required":true},{"name":"roles","description":"The roles to set","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberTimeoutDuration","version":"1.5.0","aliases":["$timeoutDuration","$getTimeoutDuration","$timedOutUntil","$memberTimedOutUntil"],"description":"Returns the timeout duration of a member","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get duration for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$nickname","version":"1.0.0","description":"Returns the member nickname","brackets":false,"aliases":["$memberNickname"],"unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its nickname","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$platform","version":"1.0.0","description":"Returns the member platforms","brackets":false,"aliases":["$memberPlatforms","$platforms","$memberPlatform"],"unwrap":true,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild id to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member id return its platform","rest":false,"type":"Member","pointer":0,"required":true},{"name":"separator","description":"The separator for each platform","rest":false,"type":"String"}],"category":"member"},{"name":"$pruneMembers","version":"1.5.0","aliases":["$prune","$membersPrune"],"description":"Prunes inactive members from the guild, returns number of kicked members","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to prune members from","rest":false,"required":true,"type":"Guild"},{"name":"days","description":"The days of inactivity required to kick","rest":false,"type":"Number"},{"name":"dry","description":"Whether to perform a dry prune","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for pruning members","rest":false,"type":"String"},{"name":"roles","description":"The roles to include when pruning","rest":true,"type":"Role"}],"category":"member"},{"name":"$randomMemberID","version":"1.0.3","description":"Returns a random member ID of a guild","unwrap":true,"output":["Member"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to get member from","rest":false,"required":true,"type":"Guild"}],"category":"member"},{"name":"$status","version":"1.0.0","description":"Returns the member status","brackets":false,"unwrap":true,"aliases":["$memberStatus","$statuses","$memberStatuses"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its status","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$timeout","version":"1.0.0","description":"Times a member out for X milliseconds, returns bool","unwrap":true,"aliases":["$memberTimeout","$timeoutMember"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to timeout","rest":false,"required":true,"type":"Member","pointer":0},{"name":"duration","description":"The duration to timeout for","rest":false,"type":"Time"},{"name":"reason","description":"The reason to timeout the member","rest":false,"type":"String"}],"category":"member"},{"name":"$unban","version":"1.0.0","brackets":true,"unwrap":true,"aliases":["$memberUnban","$unbanMember"],"output":["Boolean"],"description":"Unbans a user from a guild, returns bool","args":[{"name":"guild ID","description":"The guild to unban user from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to unban","rest":false,"type":"User","required":true},{"name":"reason","description":"The unban reason","rest":false,"type":"String"}],"category":"member"},{"name":"$voiceID","version":"1.0.3","description":"Returns the voice channel id a member is connected to","unwrap":true,"aliases":["$memberVoiceID"],"brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to pull member from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The member to get its voice channel","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$voiceKick","version":"1.4.0","description":"Kicks a member from a voice channel, returns bool","brackets":true,"aliases":["$memberVoiceKick"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to kick"},{"name":"reason","description":"The reason to kick this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$voiceMove","version":"1.4.0","description":"Moves a member from a voice channel, returns bool","brackets":true,"aliases":["$memberVoiceMove"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to move"},{"name":"channel ID","description":"The voice channel to move this user to","rest":false,"required":false,"type":"Channel"},{"name":"reason","description":"The reason for moving the user","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$disableAllMentions","version":"1.3.0","description":"Disables every possible mention","unwrap":false,"category":"mention"},{"name":"$disableEveryoneMention","version":"1.3.0","description":"Disables everyone mention","unwrap":false,"category":"mention"},{"name":"$disableRoleMentions","version":"1.3.0","description":"Disables all role mentions","unwrap":false,"category":"mention"},{"name":"$disableUserMentions","version":"1.3.0","description":"Disables all user mentions","unwrap":false,"category":"mention"},{"name":"$enableAllMentions","version":"2.6.0","description":"Enables every possible mention","unwrap":false,"category":"mention"},{"name":"$enableRoleMentions","version":"1.3.0","description":"Only parses these roles for mentions","unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to retrieve roles from"},{"name":"roles","rest":true,"required":true,"pointer":0,"type":"Role","description":"The roles to parse mentions for"}],"category":"mention"},{"name":"$enableUserMentions","version":"1.3.0","description":"Only parses these users for mentions","unwrap":true,"brackets":false,"args":[{"name":"users","rest":true,"required":true,"type":"User","description":"The users to parse mentions for"}],"category":"mention"},{"name":"$isChannelMentioned","version":"1.3.0","description":"Returns whether a channel was mentioned in this message","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$isRoleMentioned","version":"1.3.0","description":"Returns whether a role was mentioned in this message","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"role ID","rest":false,"required":true,"type":"String","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$isUserMentioned","version":"1.3.0","description":"Returns whether a user was mentioned in this message","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"user ID","rest":false,"required":true,"type":"User","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$mentioned","version":"1.0.0","brackets":false,"description":"Returns the mentioned users","unwrap":true,"output":["User[]"],"args":[{"name":"index","description":"The index of the user","rest":false,"type":"Number","required":true},{"name":"return author","description":"Return author ID if not found","rest":false,"type":"Boolean"}],"category":"mention"},{"name":"$mentionedChannelCount","aliases":["$mentionedChannelsCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned channel count","unwrap":false,"category":"mention"},{"name":"$mentionedChannels","aliases":["$mentionedChannel"],"output":["Channel[]"],"version":"1.0.0","brackets":false,"description":"Returns the mentioned channels","unwrap":true,"args":[{"name":"index","description":"The index of the channel","rest":false,"type":"Number","required":true},{"name":"return channel","description":"Whether to return current channel if not found","rest":false,"type":"Boolean"}],"category":"mention"},{"name":"$mentionedRoleCount","aliases":["$mentionedRolesCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned role count","unwrap":false,"category":"mention"},{"name":"$mentionedRoles","aliases":["$mentionedRole"],"output":["Role[]"],"version":"1.0.0","brackets":false,"description":"Returns the mentioned roles","unwrap":true,"args":[{"name":"index","description":"The index of the role","rest":false,"type":"Number","required":true}],"category":"mention"},{"name":"$mentionedUserCount","aliases":["$mentionedUsersCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned user count","unwrap":false,"category":"mention"},{"name":"$nomention","version":"1.3.0","description":"Disables reply ping","unwrap":false,"category":"mention"},{"name":"$addMessageReactions","version":"1.0.0","description":"Adds reactions to a message, returns amount of emojis successfully reacted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to add reactions to","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emojis","description":"The emojis to react with","rest":true,"type":"String","required":true}],"category":"message"},{"name":"$attachment","version":"1.0.0","brackets":true,"description":"Adds an attachment to the response","unwrap":true,"aliases":["$addAttachment"],"args":[{"name":"path","description":"The attachment url or path to file","rest":false,"required":true,"type":"String"},{"name":"name","description":"The name for this attachment, with the extension","rest":false,"type":"String","required":true},{"name":"as text","description":"Whether to use url param as text","rest":false,"type":"Boolean"},{"name":"encoding","description":"Encoding to use for text, utf-8 default","rest":false,"type":"String"},{"name":"description","description":"The description for this attachment","rest":false,"type":"String"}],"category":"message"},{"name":"$deleteAllMessageReactions","version":"1.0.0","description":"Deletes all reactions from a message, returns bool","unwrap":true,"output":["Boolean"],"brackets":false,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove reactions from","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$deleteIn","version":"1.5.0","description":"Deletes the response after the given time","unwrap":true,"brackets":true,"args":[{"name":"duration","description":"The duration to wait for until deletion","rest":false,"required":true,"type":"Time"}],"category":"message"},{"name":"$deleteMessage","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"aliases":["$deleteMessages"],"description":"Deletes given messages, returns the count of messages deleted","args":[{"name":"channel ID","description":"The channel to delete this message from","rest":false,"required":true,"type":"Channel"},{"name":"messages","description":"The message ids to delete","rest":true,"required":true,"pointer":0,"type":"String"}],"category":"message"},{"name":"$deleteUserMessageReaction","version":"1.0.6","description":"Deletes user emoji reaction from a message, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove user emoji reaction","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The message reaction to remove user from","rest":false,"required":true,"pointer":1,"type":"Reaction"},{"name":"user ID","description":"The user to delete its reaction","required":true,"rest":false,"type":"User"}],"category":"message"},{"name":"$editMessage","version":"1.0.0","description":"Edits a message in a channel, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit this message","required":true,"type":"Channel","rest":false},{"name":"message ID","description":"The message to edit","rest":false,"type":"Message","pointer":0,"required":true},{"name":"content","description":"The content for the message","type":"String","rest":false}],"brackets":true,"category":"message"},{"name":"$fetchComponents","version":"1.0.0","description":"Fetches a message's components, this will override any other component added to the response","aliases":["$fetchRows"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get the components from","pointer":0,"rest":false,"type":"Message","required":true}],"category":"message"},{"name":"$fetchEmbeds","version":"1.4.0","aliases":["$fetchEmbed","$cloneEmbed","$cloneEmbeds"],"description":"Fetches an embed or all embeds from a message to the next response","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get embeds from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The embed index to load","rest":false,"type":"Number"}],"category":"message"},{"name":"$fetchMessage","version":"2.2.0","description":"Fetches all data of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$fetchResponse","version":"1.4.0","brackets":false,"unwrap":true,"description":"Fetches all data from the message and loads it to response, this includes: embeds, components, attachments, stickers","args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$forwardMessage","version":"2.2.0","description":"Forwards a message to another channel, returns bool","aliases":["$forward"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to forward","rest":false,"required":true,"type":"Message","pointer":0},{"name":"channel ID","description":"The channel to forward message to","rest":false,"type":"Channel"}],"output":["Boolean"],"category":"message"},{"name":"$getComponents","version":"1.4.0","description":"Retrieves data of a component, not providing any property returns component json","unwrap":true,"brackets":false,"aliases":["$getComponent"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"row index","description":"The row index to get data from","rest":false,"required":false,"type":"Number"},{"name":"component index","description":"The first component index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The first property to pull","rest":false,"type":"Enum","enum":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"required":false,"enumName":"ComponentProperty"},{"name":"separator","description":"The separator to use for each value in case of array","rest":false,"type":"String"},{"name":"component index","description":"The second component index to get data from","rest":false,"type":"Number"},{"name":"property","description":"The second property to pull","rest":false,"type":"Enum","enum":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"enumName":"ComponentProperty"}],"output":["Json","Unknown"],"category":"message"},{"name":"$getEmbeds","version":"1.0.3","description":"Retrieves data of an embed, not providing any property returns embed json","unwrap":true,"output":["Unknown"],"brackets":false,"aliases":["$getEmbed"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"embed index","description":"The embed index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"required":false,"enumName":"EmbedProperty"},{"name":"field index","description":"Index of field to get","rest":false,"type":"Number"}],"category":"message"},{"name":"$getMessage","version":"1.0.3","description":"Retrieves data of a message","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"Separator to use in case of array","rest":false,"type":"String"}],"category":"message"},{"name":"$getMessageReactionCount","version":"1.0.0","description":"Gets the amount of users that have reacted to a specific emoji","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to get emoji count from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The emoji to get its user count","required":true,"pointer":1,"rest":false,"type":"Reaction"},{"name":"type","description":"The type of the reaction to count users for","rest":false,"type":"Enum","enum":["normal","burst"],"enumName":"ReactionType"}],"category":"message"},{"name":"$getMessageReactionUsers","version":"1.0.0","description":"Gets the user ids that have reacted to a specific emoji","unwrap":true,"output":["User[]"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to get emoji users from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The emoji to get its users","required":true,"pointer":1,"rest":false,"type":"Reaction"},{"name":"separator","description":"The separator to use for every user","rest":false,"type":"String"}],"category":"message"},{"name":"$getMessageReactions","version":"2.2.0","description":"Retrieves all reactions of a message","aliases":["$getReactions"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to retrieve reactions from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property of the reactions to return","rest":false,"type":"Enum","enum":["emoji","count","burstCount","normalCount","me","meBurst","burstColors"],"enumName":"ReactionProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"message"},{"name":"$getPoll","version":"2.5.0","description":"Retrieves data of a poll from a message","aliases":["$getMessagePoll"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["question","layoutType","answers","answerCount","totalVotes","expiresTimestamp","allowMultiselect","resultsFinalized"],"required":true,"enumName":"PollProperty"}],"output":["Unknown"],"category":"message"},{"name":"$getSnapshots","version":"2.4.0","description":"Retrieves data of snapshots from a message","aliases":["$getSnapshot"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the snapshot to get","rest":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"message"},{"name":"$hasComponents","version":"2.5.0","description":"Checks whether given message has components","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","pointer":0,"rest":false,"required":true,"type":"Message","description":"The message to check for components"}],"output":["Boolean"],"category":"message"},{"name":"$hasEmbeds","version":"1.2.0","brackets":false,"output":["Boolean"],"description":"Checks whether given message has embeds","unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","pointer":0,"rest":false,"required":true,"type":"Message","description":"The message to check for embeds"}],"category":"message"},{"name":"$isPinned","version":"1.5.0","description":"Returns whether the message is pinned","aliases":["$isMessagePinned","$messagePinned"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to check if its pinned","rest":false,"required":true,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$loadComponents","version":"1.4.0","aliases":["$loadComponent"],"description":"Loads components JSON (or array) to the response","unwrap":true,"brackets":true,"args":[{"name":"component data","type":"Json","rest":false,"required":true,"description":"The components object or array of objects to load"}],"category":"message"},{"name":"$loadEmbeds","version":"1.4.0","aliases":["$loadEmbed"],"description":"Loads embed json (or array) to the response","unwrap":true,"brackets":true,"args":[{"name":"embed data","type":"Json","rest":false,"required":true,"description":"The embed object or array of objects to load"}],"category":"message"},{"name":"$message","version":"1.0.0","output":["String"],"description":"Retrieves arguments from a message command","args":[{"name":"index","description":"Index to get arg","type":"Number","required":true,"rest":false},{"name":"end index","description":"The end index","rest":false,"type":"Number"}],"brackets":false,"unwrap":true,"category":"message"},{"name":"$messageAttachment","version":"1.4.0","output":["URL"],"description":"Retrieves an attachment from this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachments","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"description":"The index of the attachment","type":"Number","required":true}],"category":"message"},{"name":"$messageAttachmentCount","version":"1.4.0","output":["Number"],"description":"Retrieve the amount of attachments in this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachment count","rest":false,"required":true,"type":"Message"}],"category":"message"},{"name":"$messageAttachmentFlags","version":"1.5.0","description":"Returns the flags of an attachment from this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachment flags","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"description":"The index of the attachment","type":"Number","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["AttachmentFlags[]"],"category":"message"},{"name":"$messageAttachments","version":"1.4.0","output":["Attachment[]"],"description":"Retrieves all attachments of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachments","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every attachment","type":"String"}],"category":"message"},{"name":"$messageContent","version":"1.4.0","output":["String"],"description":"Retrieves the content of the message","unwrap":false,"category":"message"},{"name":"$messageCreatedAt","version":"1.0.2","output":["Number"],"description":"Returns the timestamp of the message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its timestamp","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageEditedAt","version":"1.5.0","output":["Number"],"description":"Returns the edited timestamp of the message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its edited timestamp","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageEmojis","version":"2.4.0","description":"Retrieves all emojis of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its emojis","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every emoji","type":"String"},{"name":"return ids","rest":false,"description":"Whether to return the emoji ids, excludes unicode emojis","type":"Boolean"}],"output":["Emoji[]"],"category":"message"},{"name":"$messageExists","version":"1.0.5","description":"Returns whether given message id exists","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to check for","rest":false,"type":"String","required":true}],"category":"message"},{"name":"$messageFlags","version":"1.5.0","description":"Returns the flags of a message","brackets":false,"unwrap":true,"output":["MessageFlags[]"],"args":[{"name":"channel ID","description":"The channel to get the message from","rest":false,"type":"Channel","required":true},{"name":"message ID","description":"The message to return its flags","rest":false,"type":"Message","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"category":"message"},{"name":"$messageID","version":"1.0.0","description":"Returns the message id","unwrap":false,"output":["Message"],"category":"message"},{"name":"$messageLink","version":"1.0.0","description":"Retrieves a message url","unwrap":true,"brackets":false,"output":["URL"],"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its url","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageRawData","version":"1.5.0","description":"Returns the raw data of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get message from","type":"Channel"},{"name":"message ID","description":"The message to get raw data from","rest":false,"type":"Message","pointer":0,"required":true}],"output":["Json"],"category":"message"},{"name":"$messageReferenceID","version":"1.0.0","description":"Returns the message id that this message replies to","unwrap":true,"output":["Message"],"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its reference","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageSlice","version":"1.3.0","description":"Slices this message's args","brackets":true,"output":["String"],"args":[{"name":"start","description":"The start index","rest":false,"required":false,"type":"Number"},{"name":"end","description":"The end index","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"message"},{"name":"$messageSticker","version":"1.4.0","output":["Sticker"],"description":"Retrieves a sticker url of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its stickers","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"required":true,"description":"The index to get sticker","type":"Number"}],"category":"message"},{"name":"$messageStickerCount","version":"1.4.0","output":["Number"],"description":"Retrieves sticker count of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its sticker count","rest":false,"required":true,"type":"Message"}],"category":"message"},{"name":"$messageStickers","version":"1.4.0","aliases":["$stickers"],"output":["Sticker[]"],"description":"Retrieves all stickers of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its stickers","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every sticker","type":"String"},{"name":"type","rest":false,"description":"The type to return, default is url","type":"Enum","enum":["id","url"],"enumName":"StickerReturnType"}],"category":"message"},{"name":"$messageType","version":"1.0.0","description":"Returns the message type","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its type","rest":false,"required":true,"type":"Message"}],"output":["MessageType"],"category":"message"},{"name":"$messageWebhookID","version":"1.1.0","description":"Returns the message's webhook id","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its webhook id","rest":false,"required":true,"type":"Message"}],"output":["Webhook"],"category":"message"},{"name":"$noMentionMessage","version":"1.0.0","output":["String"],"description":"Retrieves arguments from a message without mentions","args":[{"name":"index","description":"Index to get arg","type":"Number","required":true,"rest":false},{"name":"end index","description":"The end index","rest":false,"type":"Number"}],"brackets":false,"unwrap":true,"category":"message"},{"name":"$pinMessage","version":"1.1.0","description":"Pins a message in a channel, returns bool","brackets":false,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to pin","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$publishMessage","version":"1.1.0","description":"Crossposts a message in an announcement channel, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to announce","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$reply","version":"1.0.0","description":"Marks the response as a reply","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel the message is at","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to reply to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"disable ping","description":"Whether to disable ping of reply","rest":false,"type":"Boolean"}],"category":"message"},{"name":"$silent","version":"2.6.0","description":"Marks the response as silent","unwrap":false,"category":"message"},{"name":"$sticker","version":"1.3.0","description":"Attach a sticker to the response","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","rest":false,"required":true,"type":"Sticker","description":"The sticker to use"}],"category":"message"},{"name":"$suppressEmbeds","version":"1.5.0","description":"Suppresses embeds on a message, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to suppress embeds on","rest":false,"required":true,"pointer":0,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$tts","version":"1.5.0","description":"Marks the response as Text-To-Speech","unwrap":false,"category":"message"},{"name":"$unpinMessage","version":"1.1.0","output":["Boolean"],"description":"Unpins a message from a channel, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to unpin","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$unsuppressEmbeds","version":"1.5.0","description":"Unsuppresses embeds on a message, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to unsuppress embeds on","rest":false,"required":true,"pointer":0,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$abbreviateNumber","version":"1.0.0","output":["String"],"description":"Abbreviates given number","unwrap":true,"args":[{"name":"number","description":"The number to abbreviate","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"number"},{"name":"$average","version":"1.5.0","brackets":true,"unwrap":true,"description":"Calculates the average of given numbers","args":[{"name":"separator","description":"The delimiter of each value","rest":false,"required":true,"type":"String"},{"name":"values","description":"Values separated by `separator`","rest":false,"required":true,"type":"String"}],"category":"number"},{"name":"$hexToInt","version":"1.2.0","brackets":true,"output":["Color"],"description":"Turns hex string to number","unwrap":true,"args":[{"name":"hex","description":"The hex to convert","rest":false,"required":true,"type":"String"}],"category":"number"},{"name":"$inRange","version":"1.0.0","description":"Returns whether a number is in range","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"number","description":"The number to validate","rest":false,"type":"Number","required":true},{"name":"min","description":"The min value","rest":false,"type":"Number"},{"name":"max","description":"The max value","rest":false,"type":"Number"}],"category":"number"},{"name":"$intToHex","version":"1.2.0","brackets":true,"description":"Turns integer to hex","unwrap":true,"output":["Color"],"args":[{"name":"int","description":"The integer to convert","rest":false,"required":true,"type":"Number"}],"category":"number"},{"name":"$isFloat","version":"1.0.0","description":"Returns whether the number is a float","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$isInteger","version":"1.0.0","description":"Returns whether the number is an integer","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$isNumber","version":"1.0.0","description":"Returns whether the number is valid","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$maxSafeInteger","version":"1.0.6","description":"Returns the highest safe integer","unwrap":false,"output":["Number"],"category":"number"},{"name":"$minSafeInteger","version":"1.0.6","description":"Returns the lowest safe integer","unwrap":false,"output":["Number"],"category":"number"},{"name":"$ordinal","version":"1.3.0","description":"Appends a suffix to the number","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"number","description":"The number to append suffix to","rest":false,"required":true,"type":"Number"}],"category":"number"},{"name":"$parseInt","version":"1.2.0","description":"Implements native parseInt's function into ForgeScript","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"value","description":"The number to parse","rest":false,"required":true,"type":"String"},{"name":"radix","rest":false,"required":false,"description":"Radix to use for the parser","type":"Number"}],"category":"number"},{"name":"$randomNumber","version":"1.0.0","description":"Returns a random number (no cache)","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"min","description":"The minimum possible number","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max possible number","rest":false,"type":"Number"},{"name":"decimals","description":"Whether to use decimals","rest":false,"type":"Boolean"}],"category":"number"},{"name":"$separateBigint","version":"1.3.0","description":"Separates thousands in the number","unwrap":true,"output":["String"],"args":[{"name":"number","description":"The number to separate","rest":false,"type":"BigInt","required":true},{"name":"separator","description":"The separator to use","type":"String","rest":false}],"brackets":true,"category":"number"},{"name":"$separateNumber","version":"1.0.0","description":"Separates thousands in the number","unwrap":true,"output":["String"],"args":[{"name":"number","description":"The number to separate","rest":false,"type":"Number","required":true},{"name":"separator","description":"The separator to use","type":"String","rest":false}],"brackets":true,"category":"number"},{"name":"$advancedBar","version":"1.5.0","aliases":["$generateAdvancedBar"],"description":"Generates an advanced progress bar","brackets":true,"unwrap":true,"args":[{"name":"current","description":"The current value","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max value of current","rest":false,"required":true,"type":"Number"},{"name":"length","description":"The length of the bar","rest":false,"type":"Number"},{"name":"values","description":"The values to make the bar with, for example `=;~;#` means `0%;33%;66%`","rest":true,"required":true,"type":"String"}],"output":["String"],"category":"other"},{"name":"$awaitComponent","version":"1.4.0","description":"Awaits a component, executing the code as the interaction context, returns bool depending on whether the interaction was received","unwrap":false,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to await component on"},{"name":"filter","description":"The filter to run for every interaction received after this, this is called with interaction context","rest":false,"required":true,"condition":true,"type":"String"},{"name":"success code","description":"The code to execute on success, this is called with interaction context","rest":false,"required":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a component"}],"category":"other"},{"name":"$awaitMessage","version":"1.0.7","description":"Awaits a message, returns message ID or nothing if no valid response","unwrap":false,"output":["Message"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to await message on","rest":false,"required":true,"type":"Channel"},{"name":"variable name","description":"The variable to load the message id that was sent as response by a user, get it with $env[]","rest":false,"required":true,"type":"String"},{"name":"filter","description":"The filter to run for every message sent after this","rest":false,"required":true,"condition":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a message"}],"category":"other"},{"name":"$awaitModalSubmit","version":"1.4.0","description":"Awaits a modal submit, executing the code as the interaction context, returns bool depending on whether the interaction was received","unwrap":false,"output":["Boolean"],"brackets":true,"args":[{"name":"custom ID","description":"The modal's custom id to wait for","rest":false,"required":true,"type":"String"},{"name":"success code","description":"The code to execute on success, this is called with interaction context","rest":false,"required":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a component"}],"category":"other"},{"name":"$bar","version":"1.5.0","description":"Generates a progress bar","aliases":["$generateBar"],"brackets":true,"unwrap":true,"args":[{"name":"current","description":"The current value","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max value of current","rest":false,"required":true,"type":"Number"},{"name":"length","description":"The length of the bar","rest":false,"type":"Number"},{"name":"fill","description":"The string to use as filled points of the bar","rest":false,"type":"String"},{"name":"empty","description":"The string to use as empty points of the bar","rest":false,"type":"String"},{"name":"trunc","description":"Whether to truncate instead of round","rest":false,"type":"Boolean"},{"name":"fillStart","description":"The string to use as filled start of the bar","rest":false,"type":"String"},{"name":"fillEnd","description":"The string to use as filled end of the bar","rest":false,"type":"String"},{"name":"emptyStart","description":"The string to use as empty start of the bar","rest":false,"type":"String"},{"name":"emptyEnd","description":"The string to use as empty end of the bar","rest":false,"type":"String"}],"output":["String"],"category":"other"},{"name":"$c","version":"1.0.0","description":"Marks any code inside as a comment","unwrap":false,"args":[{"name":"comment","rest":true,"required":true,"description":"The comments","type":"String"}],"brackets":true,"category":"other"},{"name":"$callFunction","version":"1.0.0","description":"Calls a forge function made by the user","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The function name","rest":false,"required":true,"type":"String"},{"name":"args","description":"The args to call this function with","rest":true,"type":"String"}],"brackets":true,"category":"other"},{"name":"$callLocalFunction","version":"2.3.0","description":"Calls a local function","aliases":["$callFn"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The local function name","rest":false,"required":true,"type":"String"},{"name":"args","description":"The args to call this local function with","rest":true,"type":"String"}],"output":["Unknown"],"category":"other"},{"name":"$debug","version":"1.0.0","output":["String"],"description":"Returns the debug message","unwrap":false,"category":"other"},{"name":"$disableConsoleErrors","version":"1.4.0","description":"Disables possible outcoming errors that are output to console","unwrap":false,"category":"other"},{"name":"$djsVersion","version":"2.2.0","description":"Returns the discord.js version used","unwrap":false,"output":["String"],"category":"other"},{"name":"$enableConsoleErrors","version":"1.4.0","description":"Enables possible outcoming errors that are output to console","unwrap":false,"category":"other"},{"name":"$error","version":"1.0.0","description":"Returns the error message","unwrap":false,"output":["Unknown"],"category":"other"},{"name":"$escapeCode","version":"1.4.0","description":"Code inside this function will not be executed","unwrap":false,"brackets":true,"aliases":["$esc"],"args":[{"name":"code","type":"String","description":"The code to ignore","required":true,"rest":false}],"output":["String"],"category":"other"},{"name":"$localFunction","version":"2.3.0","description":"Defines a new local function","aliases":["$fn"],"unwrap":false,"brackets":true,"args":[{"name":"name","description":"The local function name","rest":false,"required":true,"type":"String"},{"name":"code","description":"The local function code","rest":false,"required":true,"type":"String"},{"name":"params","description":"The local function params","rest":true,"type":"String"}],"category":"other"},{"name":"$typeof","version":"2.4.0","description":"Returns the type of the provided argument","unwrap":true,"brackets":true,"args":[{"name":"argument","rest":false,"description":"The argument to get its type","type":"String","required":true}],"output":["String"],"category":"other"},{"name":"$poll","version":"1.5.0","description":"Creates a poll","brackets":true,"args":[{"name":"question","description":"The poll question","rest":false,"required":true,"type":"String"},{"name":"duration","description":"The poll's duration","rest":false,"required":true,"type":"Time"},{"name":"multiselect","description":"Whether to allow multi select","rest":false,"type":"Boolean"},{"name":"layout","description":"The layout for this poll","rest":false,"enum":["Default"],"type":"Enum","enumName":"PollLayoutType"}],"unwrap":true,"category":"poll"},{"name":"$pollAnswer","version":"1.5.0","brackets":true,"unwrap":true,"description":"Add a poll answer","args":[{"name":"text","description":"The answer's text","rest":false,"required":true,"type":"String"},{"name":"emoji","rest":false,"description":"The emoji to use","type":"String"}],"category":"poll"},{"name":"$pollAnswerEmoji","version":"1.5.0","description":"Can only be used in poll events, returns the emoji of the poll answer","unwrap":false,"output":["String"],"category":"poll"},{"name":"$pollAnswerID","version":"1.5.0","description":"Can only be used in poll events, returns the answer id used","unwrap":false,"output":["Number"],"category":"poll"},{"name":"$pollAnswerMessageID","version":"1.5.0","description":"Can only be used in poll events, returns the message id of the poll answer","unwrap":false,"output":["Message"],"category":"poll"},{"name":"$pollAnswerText","version":"1.5.0","description":"Can only be used in poll events, returns the text of the poll answer","unwrap":false,"output":["String"],"category":"poll"},{"name":"$pollAnswerVoteCount","version":"1.5.0","description":"Can only be used in poll events, returns the vote count of this poll answer","unwrap":false,"output":["Number"],"category":"poll"},{"name":"$pollAnswerVoterIDs","version":"1.5.0","description":"Can only be used in poll events, returns the vote user ids of this poll answer","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"category":"poll"},{"name":"$pollAnswers","version":"1.5.0","brackets":true,"unwrap":true,"description":"Adds multiple poll answers","args":[{"name":"text;emoji","description":"The answer's text followed by emoji","rest":true,"required":true,"type":"String"}],"category":"poll"},{"name":"$pollEnd","version":"1.5.0","description":"Ends a poll","aliases":["$endPoll"],"brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get the message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get the poll","rest":false,"required":true,"type":"Message","pointer":0}],"category":"poll"},{"name":"$reactionAuthorID","version":"1.0.0","description":"Returns the reaction author id that reacted","unwrap":false,"output":["User"],"category":"reaction"},{"name":"$reactionCount","version":"1.5.0","description":"Returns the count of reacted users","unwrap":false,"output":["Number"],"category":"reaction"},{"name":"$reactionEmoji","version":"1.0.0","description":"Returns the emoji that was used","unwrap":false,"output":["String"],"category":"reaction"},{"name":"$reactionEmojiID","version":"1.0.0","description":"Returns the reaction id that was used","unwrap":false,"output":["Emoji"],"category":"reaction"},{"name":"$reactionMessageID","version":"1.0.0","description":"Returns the message id of the reacted message","unwrap":false,"output":["Message"],"category":"reaction"},{"name":"$addRole","version":"1.0.0","description":"Adds a role to a guild, returns role id if success","unwrap":true,"brackets":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to add the role to","rest":false,"type":"Guild","required":true},{"name":"name","description":"The role name","rest":false,"required":true,"type":"String"},{"name":"color","description":"The role color","rest":false,"type":"String"},{"name":"icon","description":"The role icon","rest":false,"type":"String"},{"name":"hoisted","description":"Whether the role is hoisted","type":"Boolean","rest":false},{"name":"mentionable","description":"Whether the role is mentionable","type":"Boolean","rest":false},{"name":"position","description":"The position for this role","rest":false,"type":"Number"},{"name":"perms","description":"The role perms","rest":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"type":"String","enumName":"PermissionFlagsBits"}],"category":"role"},{"name":"$cloneRole","version":"2.4.0","description":"Clones an existing role of a guild, returns role id if success","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to fetch role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to clone","rest":false,"required":true,"type":"Role","pointer":0},{"name":"name","description":"The role name for the cloned role","rest":false,"type":"String"}],"output":["Role"],"category":"role"},{"name":"$deleteRoles","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given roles, returns the count of roles deleted","args":[{"name":"guild ID","description":"The guild to delete roles from","rest":false,"required":true,"type":"Guild"},{"name":"roles","description":"The roles to delete","rest":true,"required":true,"pointer":0,"type":"Role"}],"category":"role"},{"name":"$editRole","version":"1.0.7","description":"Edits a role on a guild, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit data","rest":false,"required":true},{"name":"name","description":"The new role name, leave empty to not modify","rest":false,"type":"String"},{"name":"color","description":"The new role color, leave empty to not modify","rest":false,"type":"String"},{"name":"icon","description":"The new role icon, leave empty to not modify","rest":false,"type":"String"},{"name":"hoisted","description":"Whether the role is hoisted, leave empty to not modify","rest":false,"type":"Boolean"},{"name":"mentionable","description":"Whether the role can be mentioned, leave empty to not modify","rest":false,"type":"Boolean"},{"name":"perms","description":"The new perms for the role","rest":true,"type":"Permission"}],"brackets":true,"category":"role"},{"name":"$editRoleColors","version":"2.5.0","description":"Edits a role's colors, returns boolean","aliases":["$editRoleColor"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","type":"Role","description":"The role to edit colors for","rest":false,"required":true,"pointer":0},{"name":"primary","description":"The new primary color","rest":false,"type":"Color","required":true},{"name":"secondary","description":"The new secondary color","rest":false,"type":"Color"},{"name":"tertiary","description":"The new tertiary color","rest":false,"type":"Color"}],"output":["Boolean"],"category":"role"},{"name":"$editRoleIcon","version":"1.0.7","description":"Edits a role's icon, returns boolean","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit icon for","rest":false,"required":true},{"name":"icon","description":"The new icon for the role, omit to clear","rest":false,"type":"String"}],"category":"role"},{"name":"$editRoleName","version":"1.0.7","description":"Edits a role's name, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit name for","rest":false,"required":true},{"name":"name","description":"The new name for the role","rest":false,"type":"String","required":true}],"brackets":true,"category":"role"},{"name":"$editRolePerms","version":"1.0.7","description":"Edits a role's permissions, returns boolean","aliases":["$modifyRolePerms"],"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit perms for","rest":false,"required":true},{"name":"perms","description":"The new perms for the role, omit to clear perms","rest":true,"type":"Permission"}],"brackets":true,"category":"role"},{"name":"$editRolePosition","version":"1.0.7","description":"Edits a role's position, returns boolean","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit position for","rest":false,"required":true},{"name":"position","description":"The new position for the role","rest":false,"type":"Number","required":true}],"category":"role"},{"name":"$editRoleUnicodeEmoji","version":"1.5.0","description":"Edits a role's unicode emoji, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit unicode emoji for","rest":false,"required":true},{"name":"emoji","description":"The new unicode emoji for the role, omit to clear","rest":false,"type":"String"}],"brackets":true,"category":"role"},{"name":"$fetchRoles","version":"2.2.0","description":"Caches all roles of a guild","aliases":["$fetchRole"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache roles of","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to fetch","rest":false,"type":"Role","pointer":0}],"category":"role"},{"name":"$randomRoleID","version":"1.5.0","description":"Returns a random role ID of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true}],"output":["Role"],"category":"role"},{"name":"$roleColor","version":"1.0.0","description":"Returns the color of a role","brackets":false,"unwrap":true,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its color","rest":false,"type":"Role","pointer":0,"required":true},{"name":"color","description":"The role color to return","rest":false,"type":"Enum","enum":["Primary","Secondary","Tertiary"],"enumName":"RoleColor"}],"category":"role"},{"name":"$roleCount","version":"1.0.0","description":"Returns the role count of all servers","unwrap":false,"output":["Number"],"category":"role"},{"name":"$roleCreatedAt","version":"1.0.0","description":"Returns the role creation date","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its creation date","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleEditable","version":"1.3.0","description":"Returns whether the role is editable by the bot","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its editable state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleExists","version":"1.0.0","description":"Returns whether a role id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","type":"Guild","rest":false,"required":true},{"name":"role ID","description":"The role to check for","rest":false,"required":true,"type":"String"}],"category":"role"},{"name":"$roleFlags","version":"1.3.0","description":"Returns the role flags","brackets":false,"unwrap":true,"output":["RoleFlags[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its flags","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"category":"role"},{"name":"$roleHasAnyPerms","version":"2.6.0","description":"Returns whether the role has any of the specified perms","aliases":["$hasRoleAnyPerms"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to get its perms","rest":false,"required":true,"type":"Role","pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"role"},{"name":"$roleHasPerms","version":"2.6.0","description":"Returns whether the role has all specified perms","aliases":["$hasRolePerms"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to get its perms","rest":false,"required":true,"type":"Role","pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"role"},{"name":"$roleHoisted","version":"1.0.0","description":"Returns whether the role is hoisted","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its hoisted state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleID","version":"1.0.0","description":"Returns a role id with given name","brackets":false,"unwrap":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"name","description":"The role name to return its id","rest":true,"type":"String","pointer":0,"required":true}],"category":"role"},{"name":"$roleIcon","version":"1.0.0","description":"Returns the role icon","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to use to get its icon","rest":false,"required":true,"pointer":0,"type":"Role"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"role"},{"name":"$roleIntColor","version":"1.3.0","description":"Returns the role color as int","brackets":false,"unwrap":true,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its color","rest":false,"type":"Role","pointer":0,"required":true},{"name":"color","description":"The role color to return","rest":false,"type":"Enum","enum":["Primary","Secondary","Tertiary"],"enumName":"RoleColor"}],"category":"role"},{"name":"$roleManageable","version":"1.3.0","description":"Returns whether the role is managed by discord","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its managed state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleMembers","version":"1.0.0","description":"Returns the role member ids","brackets":false,"unwrap":true,"output":["Member[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its members","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"role"},{"name":"$roleMentionable","version":"1.0.0","description":"Returns whether the role is mentionable","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its mentionable state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleName","version":"1.0.0","description":"Returns a role name with given id","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its name","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleNames","version":"1.0.0","description":"Returns the role names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the roles of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each role","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"role"},{"name":"$rolePerms","version":"1.0.0","description":"Returns the role perms","brackets":false,"unwrap":true,"output":["PermissionFlagsBits[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its perms","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false},{"name":"return int","description":"Whether to return the perms as bitfield int","type":"Boolean","rest":false}],"category":"role"},{"name":"$rolePosition","version":"1.0.0","description":"Returns the role position","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its position","rest":false,"type":"Role","pointer":0,"required":true},{"name":"asc order","description":"Whether to count roles in ascending order (top to bottom)","rest":false,"type":"Boolean"}],"category":"role"},{"name":"$roleRawData","version":"1.5.0","description":"Returns the raw data of a role","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull role from","rest":false,"type":"Guild","required":true},{"name":"role ID","rest":false,"required":true,"description":"The role to get raw data from","type":"Role","pointer":0}],"output":["Json"],"category":"role"},{"name":"$roleRawPosition","version":"1.0.0","description":"Returns the role raw position","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its raw position","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleTags","version":"1.3.0","description":"Returns all role tags","brackets":false,"output":["String[]"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its perms","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false}],"category":"role"},{"name":"$roleUnicodeEmoji","version":"1.3.0","output":["String"],"description":"Returns the unicode emoji used by the role","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its unicode emote","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$createSoundboardSound","version":"2.4.0","description":"Creates a new soundboard sound, returns sound id","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to create soundboard sound on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the sound","rest":false,"required":true,"type":"String"},{"name":"file","description":"The file for the sound","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji for the sound","rest":false,"type":"String"},{"name":"volume","description":"The volume for the sound (from 0 to 1)","rest":false,"type":"Number"},{"name":"reason","description":"The reason for creating the sound","rest":false,"type":"String"}],"output":["SoundboardSound"],"category":"soundboard"},{"name":"$deleteSoundboardSounds","version":"2.4.0","description":"Deletes given soundboard sounds, returns the count of sounds deleted","aliases":["$deleteSoundboardSound"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to delete soundboard sounds from","rest":false,"required":true,"type":"Guild"},{"name":"sounds","description":"The soundboard sounds to delete","rest":true,"required":true,"pointer":0,"type":"SoundboardSound"}],"output":["Number"],"category":"soundboard"},{"name":"$editSoundboardSound","version":"2.4.0","description":"Edits given soundboard sound, returns bool","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to edit soundboard sound on","rest":false,"required":true,"type":"Guild"},{"name":"sound ID","description":"The soundboard sound to edit","rest":false,"required":true,"pointer":0,"type":"SoundboardSound"},{"name":"name","description":"The new name for the sound","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for the sound","rest":false,"type":"String"},{"name":"volume","description":"The new volume for the sound (from 0 to 1)","rest":false,"type":"Number"},{"name":"reason","description":"The reason for editing the sound","rest":false,"type":"String"}],"output":["Boolean"],"category":"soundboard"},{"name":"$getSoundboardSound","version":"2.4.0","description":"Returns a soundboard sound of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get soundboard sound from","rest":false,"required":true,"type":"Guild"},{"name":"sound ID","description":"The soundboard sound to get","rest":false,"required":true,"type":"SoundboardSound","pointer":0},{"name":"property","description":"The property of the sound to return","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"enumName":"SoundboardSoundProperty"}],"output":["Json","Unknown"],"category":"soundboard"},{"name":"$soundAvailable","version":"2.4.0","description":"Returns whether a sound is available","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its available status","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Boolean"],"category":"soundboard"},{"name":"$soundCreatedAt","version":"2.4.0","description":"Returns the creation timestamp of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its creation timestamp","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Number"],"category":"soundboard"},{"name":"$soundEmoji","version":"2.4.0","description":"Returns the emoji of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its emoji","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["String"],"category":"soundboard"},{"name":"$soundGuildID","version":"2.4.0","description":"Returns the guild id of a sound","unwrap":false,"output":["Guild"],"category":"soundboard"},{"name":"$soundID","version":"2.4.0","description":"Returns a sound id with given name","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"name","description":"The sound name to return its id","rest":true,"required":true,"type":"String"}],"output":["SoundboardSound"],"category":"soundboard"},{"name":"$soundName","version":"2.4.0","description":"Returns the name of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its name","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["String"],"category":"soundboard"},{"name":"$soundURL","version":"2.4.0","description":"Returns the url of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its url","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["URL"],"category":"soundboard"},{"name":"$soundUserID","version":"2.4.0","description":"Returns the user who created the sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its creator","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["User"],"category":"soundboard"},{"name":"$soundVolume","version":"2.4.0","description":"Returns the volume of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its volume","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Number"],"category":"soundboard"},{"name":"$auditLog","version":"1.0.3","description":"Retrieves new data from an event whose context was an audit log instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"required":true,"enumName":"AuditProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$bulk","version":"1.4.0","description":"Retrieves data from an event whose context was a bulk delete event","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["messages","contents","timestamps","attachments","stickers","users","count"],"required":true,"enumName":"BulkProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$effect","version":"2.3.0","description":"Retrieves data from an event whose context was a voice channel effect event","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["emoji","channelID","guildID","userID","soundID","soundVolume","animationID","animationType"],"required":true,"enumName":"VoiceEffectProperty"}],"category":"state"},{"name":"$newAutomodRule","version":"1.5.0","description":"Retrieves new data from an event whose context was an automod rule instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"required":true,"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newChannel","version":"1.0.0","description":"Retrieves new data from an event whose context was a channel instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"required":true,"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newEmoji","version":"1.0.0","description":"Retrieves new data from an event whose context was an emoji instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"required":true,"enumName":"EmojiProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newEntitlement","version":"1.5.0","description":"Retrieves new data from an event whose context was an entitlement instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"required":true,"enumName":"EntitlementProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newGuild","version":"1.0.0","description":"Retrieves new data from an event whose context was a guild instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","ownerID","name","description","features","afkChannelID","maximumMembers","systemChannelID","afkTimeout","memberCount","boostCount","timestamp","icon","splash","banner","roles","emojis","stickers","boostLevel","discoverySplash","approximateMemberCount","approximatePresenceCount"],"required":true,"enumName":"GuildProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newInvite","version":"1.0.3","description":"Retrieves new data from an event whose context was an invite instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"required":true,"enumName":"InviteProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newMember","version":"1.0.0","description":"Retrieves new data from an event whose context was a guild member instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newMessage","version":"1.0.0","description":"Retrieves new data from an event whose context was a message instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newPresence","version":"1.1.0","description":"Retrieves new data from an event whose context was a presence instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","guildID","status","platform"],"required":true,"enumName":"PresenceProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newRole","version":"1.0.0","description":"Retrieves new data from an event whose context was a role instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"required":true,"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newScheduledEvent","version":"1.4.0","description":"Retrieves new data from an event whose context was a scheduled event instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"required":true,"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSound","version":"2.4.0","description":"Retrieves new data from an event whose context was a soundboard sound instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"required":true,"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newStage","version":"1.4.0","description":"Retrieves new data from an event whose context was a stage instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"required":true,"enumName":"StageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newState","version":"1.0.0","description":"Retrieves new data from an event whose context was a voice state instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"required":true,"enumName":"VoiceStateProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSticker","version":"1.4.0","description":"Retrieves new data from an event whose context was a sticker instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"required":true,"enumName":"StickerProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSubscription","version":"2.5.0","description":"Retrieves new data from an event whose context was a subscription instance","brackets":true,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"required":true,"enumName":"SubscriptionProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"state"},{"name":"$newUser","version":"1.0.0","description":"Retrieves new data from an event whose context was a user instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","username","displayName","globalName","badges","avatar","accentColor","banner","timestamp","dmChannelID","avatarDecoration","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"required":true,"enumName":"UserProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldAutomodRule","version":"1.5.0","description":"Retrieves old data from an event whose context was an automod rule instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"required":true,"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldChannel","version":"1.0.0","description":"Retrieves old data from an event whose context was a channel instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"required":true,"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldEmoji","version":"1.0.0","description":"Retrieves old data from an event whose context was an emoji instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"required":true,"enumName":"EmojiProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldEntitlement","version":"1.5.0","description":"Retrieves old data from an event whose context was an entitlement instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"required":true,"enumName":"EntitlementProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldGuild","version":"1.0.0","description":"Retrieves old data from an event whose context was a guild instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","ownerID","name","description","features","afkChannelID","maximumMembers","systemChannelID","afkTimeout","memberCount","boostCount","timestamp","icon","splash","banner","roles","emojis","stickers","boostLevel","discoverySplash","approximateMemberCount","approximatePresenceCount"],"required":true,"enumName":"GuildProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldInvite","version":"1.0.3","description":"Retrieves old data from an event whose context was an invite instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"required":true,"enumName":"InviteProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldMember","version":"1.0.0","description":"Retrieves old data from an event whose context was a guild member instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldMessage","version":"1.0.0","description":"Retrieves old data from an event whose context was a message instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldPresence","version":"1.1.0","description":"Retrieves old data from an event whose context was a presence instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","guildID","status","platform"],"required":true,"enumName":"PresenceProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldRole","version":"1.0.0","description":"Retrieves old data from an event whose context was a role instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"required":true,"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldScheduledEvent","version":"1.4.0","description":"Retrieves old data from an event whose context was a scheduled event instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"required":true,"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSound","version":"2.4.0","description":"Retrieves old data from an event whose context was a soundboard sound instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"required":true,"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldStage","version":"1.4.0","description":"Retrieves old data from an event whose context was a stage instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"required":true,"enumName":"StageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldState","version":"1.0.0","description":"Retrieves old data from an event whose context was a voice state instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"required":true,"enumName":"VoiceStateProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSticker","version":"1.4.0","description":"Retrieves old data from an event whose context was a sticker instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"required":true,"enumName":"StickerProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSubscription","version":"2.5.0","description":"Retrieves old data from an event whose context was a subscription instance","brackets":true,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"required":true,"enumName":"SubscriptionProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"state"},{"name":"$oldUser","version":"1.0.0","description":"Retrieves old data from an event whose context was a user instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","username","displayName","globalName","badges","avatar","accentColor","banner","timestamp","dmChannelID","avatarDecoration","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"required":true,"enumName":"UserProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$async","version":"1.0.0","description":"Runs code asynchronously, will not return any value","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"type":"String","required":true}],"experimental":true,"category":"statement"},{"name":"$break","version":"1.0.3","description":"Breaks the loop","unwrap":false,"category":"statement"},{"name":"$case","version":"1.0.3","description":"Adds a switch case","brackets":true,"experimental":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"value","description":"The match case","rest":false,"required":true,"type":"String"},{"name":"code","description":"Code to execute if it matches this case","rest":false,"required":true,"type":"String"}],"category":"statement"},{"name":"$continue","version":"1.0.3","description":"Skips executing bottom code of the loop","unwrap":false,"category":"statement"},{"name":"$default","version":"1.0.6","brackets":true,"unwrap":true,"description":"Returns right hand value if the left hand value is falsy","args":[{"name":"left hand","description":"Left hand value","rest":false,"required":true,"type":"String"},{"name":"right hand","description":"Right hand value","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"statement"},{"name":"$else","version":"1.2.0","description":"Creates an else statement","unwrap":true,"output":["Unknown"],"args":[{"name":"else","description":"The code to run","required":true,"type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$elseIf","version":"1.2.0","description":"Creates an else if statement","unwrap":false,"output":["Unknown"],"args":[{"name":"condition","description":"The condition to check against","rest":false,"type":"String","condition":true},{"name":"if true","description":"The code to run if true","required":true,"type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$if","version":"1.0.0","description":"Creates an if statement","unwrap":false,"output":["Unknown"],"args":[{"name":"condition","description":"The condition to check against","rest":false,"type":"String","condition":true},{"name":"if true","description":"The code to run if true","required":true,"type":"String","rest":false},{"name":"if false","description":"The code to run if false","type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$ifx","version":"1.2.0","description":"WIP if statements","brackets":true,"unwrap":false,"args":[{"name":"block","description":"The if, elseif, else blocks","rest":false,"required":true,"type":"String"}],"experimental":true,"category":"statement"},{"name":"$loop","version":"1.4.0","description":"Executes given code for N times","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"times","description":"How many times to run the code","rest":false,"required":true,"type":"Number"},{"name":"code","rest":false,"required":true,"type":"String","description":"The code to execute"},{"name":"variable","description":"The variable to load the current iteration count for $env","rest":false,"type":"String"},{"name":"asc","description":"Whether to use asc order for iteration count","rest":false,"type":"Boolean"}],"category":"statement"},{"name":"$return","version":"1.0.0","description":"Returns a value","unwrap":true,"output":["Unknown"],"args":[{"name":"value","description":"The value to return","rest":false,"required":true,"type":"String"}],"brackets":false,"category":"statement"},{"name":"$scope","version":"1.4.0","description":"Runs functions in a cloned context","brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"sync vars","description":"Whether to pass vars as reference","type":"Boolean","rest":false}],"unwrap":false,"output":["Unknown"],"category":"statement"},{"name":"$switch","version":"1.0.3","description":"Switch-case statement for javascript","unwrap":false,"experimental":true,"output":["Unknown"],"args":[{"name":"value","description":"The value to match with","rest":false,"required":true,"type":"String"},{"name":"cases","rest":false,"description":"The cases to use ($case), use $case[default;...] to add a default case","type":"String","required":true}],"brackets":true,"category":"statement"},{"name":"$try","version":"1.0.0","experimental":true,"description":"Handles a possible error from given code","unwrap":false,"args":[{"name":"code","rest":false,"type":"String","required":true,"description":"The code to safely execute"},{"name":"catch code","description":"The code to run in case of an error","rest":false,"type":"String"},{"name":"variable","description":"Variable to load the error message to","rest":false,"type":"String"}],"brackets":true,"category":"statement"},{"name":"$while","version":"1.0.3","description":"Executes code while a condition is true","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"condition","condition":true,"description":"The condition to validate","rest":false,"required":true,"type":"String"},{"name":"code","rest":false,"required":true,"type":"String","description":"The code to execute"}],"category":"statement"},{"name":"$addSticker","version":"1.0.0","description":"Adds a sticker to a guild, returns sticker id","unwrap":true,"output":["Sticker"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to add the sticker to","rest":false,"type":"Guild","required":true},{"name":"url","description":"The url or file path for this sticker","rest":false,"required":true,"type":"String"},{"name":"name","description":"The sticker name","rest":false,"type":"String","required":true},{"name":"tags","description":"The tags to use for this sticker","type":"String","required":true,"rest":false},{"name":"description","description":"The description for the sticker","rest":false,"type":"String"}],"category":"sticker"},{"name":"$deleteStickers","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given stickers, returns the count of stickers deleted","args":[{"name":"guild ID","description":"The guild to delete stickers from","rest":false,"required":true,"type":"Guild"},{"name":"stickers","description":"The stickers to delete","rest":true,"required":true,"pointer":0,"type":"String"}],"category":"sticker"},{"name":"$editSticker","version":"1.4.0","description":"Edits a sticker on a guild, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"name","description":"The new name for the sticker","rest":false,"type":"String"},{"name":"description","description":"The new description for the sticker","rest":false,"type":"String"},{"name":"tags","description":"The new tags for the sticker","rest":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerDescription","version":"1.4.0","description":"Sets a sticker's description, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"description","description":"The new description for the sticker","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerName","version":"1.4.0","description":"Sets a sticker's name, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"name","description":"The new name for the sticker","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerTags","version":"1.4.0","description":"Sets a sticker's tags, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"tags","description":"The new tags for the sticker","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$stickerAvailable","version":"1.4.0","description":"Returns whether a sticker is available","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get availability of","rest":false,"required":true,"type":"Sticker"}],"output":["Boolean"],"category":"sticker"},{"name":"$stickerCreatedAt","version":"1.4.0","description":"Returns a sticker's creation timestamp","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull timestamp of","rest":false,"required":true,"type":"Sticker"}],"output":["Number"],"category":"sticker"},{"name":"$stickerDescription","version":"1.4.0","description":"Returns a sticker's description","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull description of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerFormat","version":"1.4.0","description":"Returns a sticker's format","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get format of","rest":false,"required":true,"type":"Sticker"}],"output":["StickerFormatType"],"category":"sticker"},{"name":"$stickerGuildID","version":"1.4.0","description":"Returns a sticker's guild id","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull guild of","rest":false,"required":true,"type":"Sticker"}],"output":["Guild"],"category":"sticker"},{"name":"$stickerID","version":"1.4.0","description":"Returns the sticker id","unwrap":false,"output":["Sticker"],"category":"sticker"},{"name":"$stickerName","version":"1.4.0","description":"Returns a sticker name","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull name of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerOwnerID","version":"1.4.0","description":"Returns the user who added the sticker","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull owner of","rest":false,"required":true,"type":"Sticker"}],"output":["User"],"category":"sticker"},{"name":"$stickerPackID","version":"1.4.0","description":"Returns a sticker's pack id","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull pack of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerRawData","version":"1.5.0","description":"Returns the raw data of a sticker","unwrap":true,"brackets":false,"args":[{"name":"sticker ID","rest":false,"required":true,"description":"The sticker to get raw data from","type":"Sticker"}],"output":["Json"],"category":"sticker"},{"name":"$stickerSortValue","version":"1.4.0","description":"Returns a sticker's sort value","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get sort value of","rest":false,"required":true,"type":"Sticker"}],"output":["Number"],"category":"sticker"},{"name":"$stickerTags","version":"1.4.0","description":"Returns a sticker's tags","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull tags of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerType","version":"1.4.0","description":"Returns the sticker's type","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get type of","rest":false,"required":true,"type":"Sticker"}],"output":["StickerType"],"category":"sticker"},{"name":"$stickerURL","version":"2.3.0","description":"Returns a sticker url","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull url of","rest":false,"required":true,"type":"Sticker"}],"output":["URL"],"category":"sticker"},{"name":"$advancedReplace","version":"1.5.0","aliases":["$advancedReplaceText"],"output":["String"],"description":"Replaces text in a string multiple times","unwrap":true,"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match;replacement","description":"The text to match and their replacement","required":true,"rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$argCount","version":"1.0.0","description":"Counts the number of args in a message","aliases":["$argsCount"],"unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"text","description":"Text to count arguments","required":true,"rest":false,"type":"String"}],"category":"string"},{"name":"$charCodeAt","version":"1.0.6","description":"Returns the char code at given index","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"message","description":"The string to get char code of","rest":false,"required":true,"type":"String"},{"name":"index","description":"The index to get its char code","type":"Number","rest":false,"required":true}],"category":"string"},{"name":"$charCount","version":"1.0.0","aliases":["$textLength"],"description":"Gets the char count of a text","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"text","description":"The text to get its length","rest":false,"type":"String","required":true},{"name":"char","description":"The character to count in the text","rest":false,"type":"String"}],"category":"string"},{"name":"$checkContains","version":"1.0.0","aliases":["$includes"],"output":["Boolean"],"description":"Checks whether a string contains a set of other trings","unwrap":true,"args":[{"name":"text","description":"The text to check on","required":true,"rest":false,"type":"String"},{"name":"matches","description":"The list of strings to try match","rest":true,"type":"String","required":true}],"brackets":true,"category":"string"},{"name":"$cropArgs","version":"1.4.0","description":"Crops given args","brackets":true,"output":["String"],"args":[{"name":"args","description":"The args to crop","rest":false,"required":true,"type":"String"},{"name":"start index","description":"The start index to start cropping","rest":false,"required":true,"type":"Number"},{"name":"end index","description":"The end index to finish cropping","rest":false,"type":"Number"}],"unwrap":true,"category":"string"},{"name":"$cropText","version":"1.0.3","description":"Crops given text","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to crop","rest":false,"required":true,"type":"String"},{"name":"start index","description":"The start index to start cropping","rest":false,"required":true,"type":"Number"},{"name":"end index","description":"The end index to finish cropping","rest":false,"type":"Number"},{"name":"ending","description":"Add extra text to the end","rest":false,"type":"String"}],"unwrap":true,"category":"string"},{"name":"$endsWith","version":"1.0.0","description":"Checks whether given string ends with X string","unwrap":true,"output":["Boolean"],"args":[{"name":"string","description":"The string to check against","type":"String","rest":false,"required":true},{"name":"values","required":true,"description":"The values to match at the end","rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$fromCharCode","version":"1.0.6","description":"Returns the characters from given codes","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"codes","description":"The codes to get its char codes","type":"Number","rest":true,"required":true}],"category":"string"},{"name":"$padEnd","version":"1.0.6","description":"Pads a string at the end","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to pad at the end","rest":false,"required":true,"type":"String"},{"name":"max length","description":"The max length of the string","rest":false,"required":true,"type":"Number"},{"name":"filler","description":"The filler to use to pad","rest":false,"type":"String"}],"category":"string"},{"name":"$padStart","version":"1.0.6","description":"Pads a string at the start","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to pad at the start","rest":false,"required":true,"type":"String"},{"name":"max length","description":"The max length of the string","rest":false,"required":true,"type":"Number"},{"name":"filler","description":"The filler to use to pad","rest":false,"type":"String"}],"category":"string"},{"name":"$randomString","version":"1.2.0","description":"Creates a random string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"length","description":"The length of the random string","rest":false,"required":true,"type":"Number"},{"name":"characters","description":"The characters to use for this string","rest":false,"required":false,"type":"String"}],"category":"string"},{"name":"$randomText","version":"1.0.0","description":"Returns a random text (no cache)","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"texts","description":"The texts to use","rest":true,"required":true,"type":"String"}],"category":"string"},{"name":"$randomUUID","version":"1.2.0","description":"Returns a random uuid","unwrap":false,"output":["String"],"category":"string"},{"name":"$repeat","version":"1.1.0","aliases":["$repeatText"],"description":"Repeats given text for x times","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to repeat","type":"String","rest":false,"required":true},{"name":"amount","rest":false,"required":true,"type":"Number","description":"How many times to repeat this text"}],"category":"string"},{"name":"$replace","version":"1.0.0","aliases":["$replaceText"],"output":["String"],"description":"Replace text in a string","unwrap":true,"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match","description":"Text to match in base","rest":false,"required":true,"type":"String"},{"name":"new value","description":"The text to replace matches with","type":"String","rest":false,"required":true},{"name":"amount","description":"How many times to perform this replacement","rest":false,"type":"Number"}],"brackets":true,"category":"string"},{"name":"$replaceRegex","version":"1.0.0","description":"Replace text in a string using regex","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match","description":"Regex to match in base","rest":false,"required":true,"type":"String","pointer":2},{"name":"flags","description":"The flags to use for the regex","rest":false,"required":true,"type":"String"},{"name":"new value","description":"The text to replace matches with","type":"String","rest":false,"required":true},{"name":"amount","description":"How many times to perform this replacement","rest":false,"type":"Number"}],"brackets":true,"category":"string"},{"name":"$reverseText","version":"1.5.0","description":"Reverses given text","aliases":["$reverse"],"brackets":true,"unwrap":true,"args":[{"name":"string","description":"The string to use","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"string"},{"name":"$sliceText","version":"1.3.0","description":"Slices given text","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to slice","rest":false,"required":true,"type":"String"},{"name":"start","description":"The start index","rest":false,"required":false,"type":"Number"},{"name":"end","description":"The end index","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"string"},{"name":"$snowflake","version":"1.4.0","description":"Generates a snowflake, this value will never clash","unwrap":false,"output":["String"],"category":"string"},{"name":"$startsWith","version":"1.0.0","description":"Checks whether given string starts with X string","unwrap":true,"output":["Boolean"],"args":[{"name":"string","description":"The string to check against","type":"String","rest":false,"required":true},{"name":"values","required":true,"description":"The values to match at the start","rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$toCamelCase","version":"1.0.6","description":"Converts a string to camel case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn camel case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toKebabCase","version":"1.0.6","description":"Converts a string to kebab case","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"message","description":"The string to turn kebab case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toLowerCase","version":"1.0.0","description":"Makes a string lowercase","unwrap":true,"output":["String"],"args":[{"name":"string","description":"The string to turn lowercase","type":"String","rest":true,"required":true}],"brackets":true,"category":"string"},{"name":"$toSnakeCase","version":"1.0.6","description":"Converts a string to snake case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn snake case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toTitleCase","version":"1.0.6","description":"Converts a string to title case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn title case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toUpperCase","version":"1.0.0","description":"Makes a string uppercase","unwrap":true,"output":["String"],"args":[{"name":"string","description":"The string to turn uppercase","type":"String","rest":true,"required":true}],"brackets":true,"category":"string"},{"name":"$trim","version":"1.0.6","aliases":["$trimSpace"],"description":"Trims a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimEnd","version":"1.0.6","description":"Trims at the end of a string","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"text","description":"The text to trim at the end","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimLines","version":"1.5.0","description":"Trims empty lines from a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim empty lines","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimStart","version":"1.0.6","description":"Trims at the start of a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim at the start","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$cpu","version":"1.0.0","description":"Returns the cpu usage of the host (not accurate)","aliases":["$cpuUsage"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$cpuArch","version":"1.0.7","output":["String"],"description":"Returns the cpu architecture","unwrap":false,"category":"system"},{"name":"$cpuCores","version":"1.0.7","output":["Number"],"description":"Returns the amount of cpu cores","unwrap":false,"category":"system"},{"name":"$cpuModel","version":"1.0.7","description":"Returns the cpu model","unwrap":false,"output":["String"],"category":"system"},{"name":"$cpuSpeed","version":"1.0.7","description":"Returns the cpu speed in MHz","unwrap":false,"output":["Number"],"category":"system"},{"name":"$networkCardIPs","version":"1.2.0","description":"Returns your network's card ips","unwrap":true,"output":["String[]"],"brackets":false,"args":[{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"system"},{"name":"$networkCardNames","version":"1.2.0","description":"Returns your network's card names","unwrap":true,"output":["String[]"],"brackets":false,"args":[{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"system"},{"name":"$nodeVersion","version":"1.0.0","description":"Returns the node version","unwrap":false,"output":["String"],"category":"system"},{"name":"$os","version":"1.0.7","description":"Returns the operating system name","unwrap":false,"output":["String"],"category":"system"},{"name":"$osUptime","version":"1.0.7","description":"Returns the operating system uptime (seconds)","unwrap":false,"output":["Number"],"category":"system"},{"name":"$ram","version":"1.0.0","description":"Returns the current ram usage in MB","aliases":["$memory","$ramUsage"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$ramTotal","version":"2.2.0","description":"Returns the maximum total ram capacity of the system in GB","aliases":["$memoryTotal","$maxRam"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$calendarDay","version":"1.5.0","description":"Returns the calendar day","unwrap":false,"output":["Number"],"category":"time"},{"name":"$calendarWeek","version":"1.5.0","description":"Returns the calendar week","unwrap":false,"output":["Number"],"category":"time"},{"name":"$clearInterval","version":"2.3.0","description":"Clears an active interval, returns bool","aliases":["$stopInterval"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The name of the interval","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"time"},{"name":"$clearTimeout","version":"2.3.0","description":"Clears an active timeout, returns bool","aliases":["$stopTimeout"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The name of the timeout","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"time"},{"name":"$day","version":"1.2.0","description":"Returns current day of month","aliases":["$dayOfMonth"],"unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the day","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["String"],"category":"time"},{"name":"$discordTimestamp","version":"1.4.0","description":"Creates a discord timestamp","unwrap":true,"brackets":true,"args":[{"name":"time","description":"The time to turn into timestamp","rest":false,"required":true,"type":"Time"},{"name":"style","rest":false,"required":true,"enum":["ShortTime","MediumTime","LongTime","ShortDate","LongDate","LongDateShortTime","ShortDateTime","FullDateShortTime","LongDateTime","ShortDateShortTime","ShortDateMediumTime","RelativeTime"],"type":"Enum","description":"The timestamp style","enumName":"TimestampStyles"}],"output":["String"],"category":"time"},{"name":"$executionTime","version":"1.0.3","description":"Returns current execution time","unwrap":false,"output":["Number"],"category":"time"},{"name":"$getTimestamp","version":"1.0.0","description":"Gets the current timestamp","unwrap":false,"output":["Number"],"category":"time"},{"name":"$hour","version":"1.2.0","description":"Returns current hour","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the hour","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$minute","version":"1.2.0","description":"Returns current minute","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the minute","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$month","version":"1.2.0","description":"Returns current month","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the month","rest":false,"type":"Enum","enum":["Numeric","TwoDigit","Long","Short","Narrow"],"enumName":"ExtendedTimeFormat"}],"output":["String"],"category":"time"},{"name":"$parseDate","version":"1.0.2","description":"Parses valid ms to a date","brackets":true,"output":["Date"],"args":[{"name":"ms","description":"The ms to convert to date","rest":false,"type":"Number","required":true},{"name":"type","description":"The date type","enum":["LocaleDate","LocaleTime","Locale","Date","ISO","UTC","Time"],"rest":false,"required":true,"type":"Enum","enumName":"DateType"}],"unwrap":true,"category":"time"},{"name":"$parseDigital","version":"1.5.0","description":"Parses given ms to digital format","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"ms","description":"The ms to convert to digital format","rest":false,"type":"Number","required":true}],"category":"time"},{"name":"$parseMS","version":"1.0.2","description":"Parses valid ms to duration","brackets":true,"output":["String"],"args":[{"name":"ms","description":"The ms to convert to string","rest":false,"type":"Number","required":true},{"name":"limit","description":"Limit of units to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use for every unit","rest":false,"type":"String"},{"name":"and","rest":false,"description":"Whether to use and word for last unit","type":"Boolean"}],"unwrap":true,"category":"time"},{"name":"$parseString","version":"1.0.2","description":"Parses valid duration string to ms","brackets":true,"output":["Number"],"args":[{"name":"duration","description":"The valid string to convert to ms","rest":false,"type":"String","required":true}],"unwrap":true,"category":"time"},{"name":"$second","version":"1.2.0","description":"Returns current second","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the second","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$setCalendar","version":"1.5.0","description":"Sets the calendar for time functions","aliases":["$calendar"],"unwrap":true,"brackets":true,"experimental":true,"args":[{"name":"type","description":"The calendar type to use","rest":false,"type":"Enum","enum":["Buddhist","Chinese","Coptic","Dangi","Ethioaa","Ethiopic","Gregory","Hebrew","Indian","Islamic","IslamicUmalqura","IslamicTbla","IslamicCivil","IslamicRgsa","Iso8601","Japanese","Persian","Roc"],"required":true,"enumName":"CalendarType"}],"category":"time"},{"name":"$setInterval","version":"1.0.2","description":"Executes code after given duration until canceled","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"time","description":"How long to wait for before running this code","rest":false,"type":"Time"},{"name":"name","description":"The name for this interval","rest":false,"type":"String"}],"category":"time"},{"name":"$setTimeout","version":"1.0.2","description":"Executes code after given duration","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"time","description":"How long to wait for before running this code","rest":false,"type":"Time"},{"name":"name","description":"The name for this timeout","rest":false,"type":"String"}],"category":"time"},{"name":"$setTimezone","version":"1.5.0","aliases":["$timezone"],"description":"Sets the timezone for time functions","unwrap":true,"brackets":true,"args":[{"name":"timezone","description":"The timezone to set","rest":false,"type":"String","required":true}],"category":"time"},{"name":"$unparseDate","version":"1.2.0","description":"Unparses given date to ms","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"date","description":"The date to get its ms","type":"Date","rest":false,"required":true}],"category":"time"},{"name":"$unparseDigital","version":"1.5.0","description":"Unparses given digital format to ms","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"digital","description":"The digital format to convert to ms","rest":false,"type":"String","required":true}],"category":"time"},{"name":"$wait","version":"1.0.0","description":"Delays the code below for x milliseconds","brackets":true,"unwrap":true,"args":[{"name":"duration","description":"The duration to wait for","rest":false,"type":"Time","required":true}],"category":"time"},{"name":"$week","version":"1.5.0","description":"Returns current week of month","unwrap":false,"output":["Number"],"category":"time"},{"name":"$weekday","version":"2.3.0","description":"Returns current day of week","aliases":["$dayOfWeek"],"unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the day","rest":false,"type":"Enum","enum":["Numeric","TwoDigit","Long","Short","Narrow"],"enumName":"ExtendedTimeFormat"}],"output":["String"],"category":"time"},{"name":"$year","version":"1.2.0","description":"Returns current year","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the year","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$api","version":"1.5.0","description":"Sends a discord api request, using a discord-api-types route","unwrap":true,"aliases":["$discordAPI"],"args":[{"name":"route name","description":"Route name, like so `channel`","type":"String","rest":false},{"name":"route method","description":"Route method, like so `get`","type":"String","rest":false,"required":true},{"name":"route params;body","description":"Parameters for this route, body has to be json","rest":true,"required":true,"type":"String"}],"output":["Unknown"],"brackets":true,"category":"unsafe"},{"name":"$coroutine","version":"1.2.0","description":"Runs given code in a separate thread","experimental":true,"unwrap":false,"args":[{"name":"code","description":"The code to run","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"unsafe"},{"name":"$djsEval","version":"1.0.0","aliases":["$js"],"description":"Evaluates JavaScript code","unwrap":true,"output":["Unknown"],"args":[{"name":"code","description":"The code to eval","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"unsafe"},{"name":"$eval","version":"1.0.0","description":"Evaluates given code","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"code","type":"String","rest":false,"required":true,"description":"The code to eval"},{"name":"send","type":"Boolean","rest":false,"description":"Whether to send as new message"}],"category":"unsafe"},{"name":"$exec","version":"1.0.0","brackets":true,"description":"Runs a command in console","unwrap":true,"output":["Unknown"],"args":[{"name":"command","description":"The command to execute","rest":false,"type":"String","required":true}],"category":"unsafe"},{"name":"$function","version":"1.0.0","description":"Runs a function","unwrap":false,"experimental":true,"output":["Unknown"],"args":[{"name":"code","description":"Code to execute","required":true,"type":"String","rest":true}],"brackets":true,"category":"unsafe"},{"name":"$gc","version":"1.5.0","description":"Triggers JavaScript's garbage collector, only available if passed --expose-gc flag to node","unwrap":false,"output":["Boolean"],"category":"unsafe"},{"name":"$instanceName","version":"1.4.0","aliases":["$instance","$contextInstance"],"description":"Returns the context's instance name","output":["String"],"unwrap":false,"category":"unsafe"},{"name":"$loadChannelContext","version":"1.4.0","aliases":["$useChannelContext","$asChannelContext"],"brackets":true,"description":"Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"channel ID","description":"The channel to adapt context with","rest":false,"required":true,"type":"Channel"}],"category":"unsafe"},{"name":"$loadGuildContext","version":"1.4.0","aliases":["$useGuildContext","$asGuildContext"],"brackets":true,"description":"Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"guild ID","description":"The guild to adapt context with","rest":false,"required":true,"type":"Guild"}],"category":"unsafe"},{"name":"$loadMemberContext","version":"1.4.0","aliases":["$useMemberContext","$asMemberContext"],"description":"Loads a member instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"member ID","description":"The member to adapt context with","rest":false,"required":true,"type":"Member","pointer":0}],"category":"unsafe"},{"name":"$loadMessageContext","version":"1.4.0","aliases":["$useMessageContext","$asMessageContext"],"description":"Loads a message instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to adapt context with","rest":false,"required":true,"type":"Message","pointer":0}],"category":"unsafe"},{"name":"$loadRoleContext","version":"1.4.0","aliases":["$useRoleContext","$asRoleContext"],"description":"Loads a role instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to adapt context with","rest":false,"required":true,"type":"Role","pointer":0}],"category":"unsafe"},{"name":"$loadStickerContext","version":"1.4.0","aliases":["$useStickerContext","$asStickerContext"],"brackets":true,"description":"Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to adapt context with","rest":false,"required":true,"type":"Sticker"}],"category":"unsafe"},{"name":"$loadUserContext","version":"1.4.0","aliases":["$useUserContext","$asUserContext"],"brackets":true,"description":"Loads a user instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"user ID","description":"The user to adapt context with","rest":false,"required":true,"type":"User"}],"category":"unsafe"},{"name":"$authorID","version":"1.0.0","aliases":["$userID"],"description":"Retrieves a user's id","unwrap":false,"output":["User"],"category":"user"},{"name":"$discriminator","version":"1.4.0","description":"Returns the user discriminator","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its discriminator","rest":false,"required":true,"type":"User"}],"output":["String"],"category":"user"},{"name":"$isBot","version":"1.0.0","description":"Whether the user is a bot","unwrap":true,"output":["Boolean"],"args":[{"name":"user ID","description":"The user to check whether its a bot","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$isBotVerified","version":"1.0.0","description":"Whether the bot is verified","unwrap":true,"output":["Boolean"],"args":[{"name":"user ID","description":"The bot to check whether its verified","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$isUserDMEnabled","version":"1.2.0","description":"Checks whether the given user can be DMed","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"user","description":"The user to test DMs","rest":false,"required":true,"type":"User"}],"category":"user"},{"name":"$randomUserID","version":"1.0.3","description":"Returns a random user ID","unwrap":false,"output":["User"],"category":"user"},{"name":"$sendDM","version":"1.0.0","description":"Sends a dm to the user","unwrap":true,"brackets":true,"output":["Message"],"args":[{"name":"user ID","description":"The user to dm","rest":false,"type":"User","required":true},{"name":"content","description":"The content to send","rest":false,"type":"String"},{"name":"return message ID","description":"Returns the message id of the newly created message","rest":false,"type":"Boolean"}],"category":"user"},{"name":"$userAccentColor","version":"1.0.0","description":"Returns the user accent color","brackets":false,"output":["Color"],"args":[{"name":"user ID","description":"The user to retrieve the accent color","rest":false,"required":true,"type":"User"}],"unwrap":true,"category":"user"},{"name":"$userAvatar","version":"1.0.0","description":"Returns the user avatar","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the avatar","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userAvatarDecoration","version":"1.0.0","description":"Returns the user decoration","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the decoration","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userBadges","version":"1.0.0","description":"Returns the public badges of a user","aliases":["$userFlags"],"unwrap":true,"output":["UserFlags[]"],"args":[{"name":"user ID","description":"The user to return its badges","required":true,"rest":false,"type":"User"},{"name":"separator","description":"The separator to use for every badge","rest":false,"type":"String"}],"brackets":false,"category":"user"},{"name":"$userBanner","version":"1.0.0","description":"Returns the user banner","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the banner","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userCount","version":"1.0.0","description":"Returns the user count of the bot","unwrap":false,"output":["Number"],"category":"user"},{"name":"$userCreatedAt","version":"1.0.2","description":"Returns the timestamp this user created their account","unwrap":true,"output":["Number"],"args":[{"name":"user ID","description":"The user to return its creation date","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userDefaultAvatar","version":"1.5.0","description":"Returns the default user avatar","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the default avatar","rest":false,"required":true,"type":"User"}],"unwrap":true,"category":"user"},{"name":"$userDisplayName","version":"1.0.0","description":"Returns the display name of a user","unwrap":true,"output":["String"],"args":[{"name":"user ID","description":"The user to return its display name","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userExists","version":"1.0.0","description":"Returns whether a user id exists","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"user ID","description":"The user to check","rest":false,"required":true,"type":"String"}],"category":"user"},{"name":"$userGlobalName","version":"1.0.0","description":"Returns the global name of a user","unwrap":true,"output":["String"],"args":[{"name":"user ID","description":"The user to return its global name","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userGuildBadge","version":"2.5.0","description":"Returns the primary guild tag badge of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"category":"user"},{"name":"$userGuildEnabled","version":"2.5.0","description":"Returns whether the primary guild of a user is enabled","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["Boolean"],"category":"user"},{"name":"$userGuildID","version":"2.5.0","description":"Returns the primary guild id of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["Guild"],"category":"user"},{"name":"$userGuildTag","version":"2.5.0","description":"Returns the primary guild tag name of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["String"],"category":"user"},{"name":"$userIDs","version":"1.4.0","description":"Returns all the users that are currently cached","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"category":"user"},{"name":"$userRawData","version":"1.5.0","description":"Returns the raw data of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get raw data from","rest":false,"type":"User","required":true}],"output":["Json"],"category":"user"},{"name":"$userReferenceID","version":"1.5.0","description":"Returns the id of the user this message replies to","unwrap":true,"output":["User"],"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its reference user","rest":false,"type":"Message","pointer":0,"required":true}],"brackets":false,"category":"user"},{"name":"$userTag","version":"1.4.0","description":"Returns the user tag","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its tag","rest":false,"required":true,"type":"User"}],"output":["String"],"category":"user"},{"name":"$username","version":"1.0.0","description":"Retrieves a user's username","brackets":false,"output":["String"],"args":[{"name":"id","description":"The user id to get the username of","type":"User","rest":false}],"unwrap":true,"category":"user"},{"name":"$delete","version":"1.0.0","description":"Deletes a keyword","unwrap":true,"output":["Boolean"],"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true}],"brackets":true,"category":"variable"},{"name":"$env","version":"1.0.0","aliases":["$jsonDump"],"output":["Unknown"],"description":"Retrieves an environment value","args":[{"name":"key","description":"The key to return its value","required":true,"type":"String","rest":true}],"brackets":true,"unwrap":true,"category":"variable"},{"name":"$get","version":"1.0.0","output":["Unknown"],"description":"Get a keyword value","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true}],"brackets":true,"category":"variable"},{"name":"$has","version":"1.0.0","description":"Checks whether a keyword exists","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"name","description":"The name of the keyword","rest":false,"type":"String","required":true}],"category":"variable"},{"name":"$let","version":"1.0.0","description":"Create a keyword","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The key value","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"variable"},{"name":"$letDivide","version":"1.3.0","description":"Short-hand for $let[...;$divide[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to divide with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letMulti","version":"1.3.0","description":"Short-hand for $let[...;$multi[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to multiply with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letSub","version":"1.3.0","description":"Short-hand for $let[...;$sub[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to sub with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letSum","version":"1.3.0","description":"Short-hand for $let[...;$sum[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to sum with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$getWebhook","version":"2.6.0","description":"Returns a webhook from a channel","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to get","rest":false,"type":"Webhook","required":true},{"name":"property","description":"The property of the webhook to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"}],"output":["Json","Unknown"],"category":"webhook"},{"name":"$webhookCreate","version":"1.0.0","description":"Creates a webhook in a channel, returns the webhook id","brackets":true,"unwrap":true,"output":["Webhook"],"args":[{"name":"channel ID","description":"The channel to create the webhook","type":"Channel","rest":false,"required":true},{"name":"name","description":"The webhook name","rest":false,"required":true,"type":"String"},{"name":"url","description":"The avatar url","rest":false,"type":"String"}],"category":"webhook"},{"name":"$webhookDelete","version":"1.0.0","description":"Deletes webhook with given id","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to delete","rest":false,"type":"Webhook","required":true}],"category":"webhook"},{"name":"$webhookEdit","version":"1.0.0","description":"Edits webhook with given id, returns bool","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to edit","rest":false,"type":"Webhook","required":true},{"name":"name","description":"The new name for the webhook","rest":false,"type":"String"},{"name":"url","description":"The new avatar for the webhook","rest":false,"type":"String"}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookEditMessage","version":"1.5.0","description":"Edits a webhook message, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"url","description":"The webhook url","rest":false,"required":true,"type":"String"},{"name":"message ID","description":"The message to edit","rest":false,"required":true,"type":"String"},{"name":"content","description":"The new content for the message","rest":false,"type":"String"},{"name":"thread ID","description":"The thread this message belongs to","rest":false,"type":"Channel"}],"category":"webhook"},{"name":"$webhookExists","version":"1.0.0","description":"Checks whether given webhook id exists","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook id to check for","rest":false,"type":"String","required":true}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookIsUserCreated","version":"2.3.0","description":"Checks whether given webhook is user created","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookSend","version":"1.0.0","description":"Sends a message with a webhook","brackets":true,"unwrap":true,"output":["Message"],"args":[{"name":"url","description":"The webhook url","rest":false,"required":true,"type":"String"},{"name":"content","description":"The content for the message","rest":false,"type":"String"},{"name":"return message ID","description":"Return the message id of the sent message","rest":false,"type":"Boolean"},{"name":"username","description":"The username for the message","rest":false,"type":"String"},{"name":"avatar","description":"The avatar for the message","rest":false,"type":"String"},{"name":"thread ID","description":"The thread to send message to","rest":false,"type":"Channel"},{"name":"post name","description":"The name for the created forum post","rest":false,"type":"String"},{"name":"tags","description":"The tags for the created forum post","rest":true,"type":"String"}],"category":"webhook"},{"name":"$webhookToken","version":"1.0.0","description":"Returns the token of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["String"],"category":"webhook"},{"name":"$webhookType","version":"2.3.0","description":"Returns the type of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["WebhookType"],"category":"webhook"},{"name":"$webhookURL","version":"1.0.0","description":"Returns the url of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["URL"],"category":"webhook"},{"name":"$ws","version":"1.5.0","description":"Creates a WebSocket connection to a server","aliases":["$websocket"],"brackets":true,"unwrap":true,"args":[{"name":"host","description":"The WS host, formatted as wss://hostname:port","rest":false,"required":true,"type":"String"}],"output":["Number"],"category":"websocket"},{"name":"$wsClose","version":"1.5.0","description":"Closes a websocket connection and removes all listeners of it","aliases":["$websocketClose"],"brackets":true,"unwrap":true,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"code","description":"The status code to send","rest":false,"type":"Number"}],"category":"websocket"},{"name":"$wsOn","version":"1.5.0","description":"Attach a listener to a websocket","unwrap":false,"aliases":["$websocketOn"],"brackets":true,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"listener name","description":"The name of the event to listen to","rest":false,"required":true,"type":"String"},{"name":"callback","description":"The code to execute every time this event is fired","rest":false,"required":true,"type":"String"},{"name":"params","description":"The arguments that will contain the data of the event that was sent","rest":true,"required":true,"type":"String"}],"category":"websocket"},{"name":"$wsSend","version":"1.5.0","description":"Sends a websocket message","aliases":["$websocketSend"],"brackets":true,"unwrap":false,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"value","description":"The json value to send over","rest":false,"required":true,"type":"Json"},{"name":"callback","description":"Code to execute on completion of request","rest":false,"type":"String"},{"name":"variable name","description":"Variable to store error on if callback was called for an error","rest":false,"required":false,"type":"String"}],"category":"websocket"},{"name":"$wsState","version":"1.5.0","output":["ConnectionState"],"description":"Returns a websocket's connection state","unwrap":true,"brackets":true,"args":[{"name":"websocket ID","description":"The websocket to get its state","rest":false,"required":true,"type":"Number"}],"category":"websocket"}]