Skip to content

DevSpen/dbdts-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ DBD.TS Plugins

Plugins for DBD.TS.

Has this repository helped you? Give it a ⭐ to show your support!

Adding Plugins

  1. Create a folder named plugins
  2. Create a file named pluginName.js
  3. Paste in the plugin's code

Plugins

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.

Documentation

Coming soon!