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 | bfbbe46b97bad9f21905d53d03eeb09cba52f6ac (patch) | |
| tree | 3467cb2b555125123c01f67aadb9daa201bae741 /src/util.js | |
| parent | efe4a6017895128c3c41fb81fbbb3a7dbf22ad08 (diff) | |
pronoun detecting and fixes
Diffstat (limited to 'src/util.js')
| -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) { |
