feat: Switch User

test #477
This commit is contained in:
March 7th
2023-01-26 13:40:51 +07:00
parent e8c3bcb0a0
commit 4c838a5e26
14 changed files with 79 additions and 60 deletions

View File

@@ -647,7 +647,7 @@ class Util extends null {
}
/**
* Resolves the maximum time a guild's thread channels should automatcally archive in case of no recent activity.
* Resolves the maximum time a guild's thread channels should automatically archive in case of no recent activity.
* @deprecated
* @returns {number}
*/
@@ -753,6 +753,15 @@ class Util extends null {
static uploadFile(data, url) {
return axios.put(url, data);
}
static testImportModule(name) {
try {
require.resolve(name);
return true;
} catch {
return false;
}
}
}
module.exports = Util;