diff options
author | ame <[email protected]> | 2023-12-20 17:06:51 -0600 |
---|---|---|
committer | ame <[email protected]> | 2023-12-20 17:06:51 -0600 |
commit | 01e1ebd6ef55480edd71d96dd2d89bc8141af5b9 (patch) | |
tree | 2f4e20d6f6b084776b2e5db7c96f68d844c2d5f1 /src | |
parent | 344eeaf9916ed275a4a71fded580a8be70bf1f61 (diff) |
pronoun detecting and fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/util.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.js b/src/util.js index ef1cf50..3321744 100644 --- a/src/util.js +++ b/src/util.js @@ -1,6 +1,9 @@ const rem_emp = function (e) {return e !== "";} module.exports = { + diff(a,b){ + return (a>b)?(a-b):(b-a); + }, upload_limit(guild){ //https://stackoverflow.com/questions/66396146/get-channels-filesize-limit switch (guild.premiumTier) { |