Skip to content

Removed unused imports and variables from native functions - #427

Open
Daaisukidayo wants to merge 2 commits into
tryforge:devfrom
Daaisukidayo:dev
Open

Daaisukidayo wants to merge 2 commits into
tryforge:devfrom
Daaisukidayo:dev

Conversation

@Daaisukidayo

Copy link
Copy Markdown
Contributor

Also updated the descriptions of some functions to match their actual behavior:

  • $onlyIf, $onlyForUsers, $onlyForRoles, $onlyForChannels, $onlyForCategories and $onlyForGuilds: say that they stop execution, and that the given code is executed and its result is sent
  • $arrayReduce: explained the accumulator variable
  • $arrayPushJSON and $arrayUnshiftJSON: mention JSON values
  • $encodeURI, $encodeURIComponent, $decodeURI and $decodeURIComponent: explained the difference between full urls and url parts
  • $bigintSum, $bigintSub, $bigintMulti, $bigintDivide and $separateBigint: say bigints instead of numbers, $bigintDivide also mentions that the result is rounded towards zero
  • $getTextSplitIndex: notes that it returns -1 if not found, added the Number output type
  • $deleteActionRowFrom: notes that it works on an existing message
  • $platform: fixed the argument description
  • $isBot, $isPinned, $isBoolean, $threadIsArchived and $threadIsLocked: fixed its to it's

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant