Plugins for DBD.TS.
Has this repository helped you? Give it a ⭐ to show your support!
- Create a folder named
plugins
- Create a file named
pluginName.js
- Paste in the plugin's code
Function | Description |
---|---|
$absolute | Returns the absolute value of a number. |
$argCount | Returns how many arguments are in the provided text. |
$ceil | Rounds a float to the next largest integer. |
$charCount | Returns how many characters are in the provided text. |
$cropText | Trims the provided text and optionally appends text to end. |
$fetchGuilds | Fetches guild names/ids that your bot is in. |
$find | Find a query within a separated string. |
$floor | Rounds a float to the largest integer less than or equal to it. |
$hasDecimal | Checks if a number has a decimal. |
$join | Splits 'string' with 'separator', then joins the split with 'newSeparator'. |
$removeFont | Converts fonted-text into regular text. |
$removeNewLines | Removes new lines from a string. |
$repeatText | Repeats the string a certain amount of times. |
$reverseText | Reverses a string. |
$round | Rounds a float to the nearest integer. |
$sort | Sorts the provided numbers (smallest to greatest) OR alphabetizes a string. |
$truncate | Removes decimals from a number. |
Coming soon!