Fixed broken isDeveloper check

This commit is contained in:
2023-03-05 15:10:21 +07:00
parent 845b4ed3b1
commit 35128c1788
+1 -1
View File
@@ -3,7 +3,7 @@ import Environment from '../providers/Environment';
class Users {
public static isDeveloper(user: User | Snowflake) {
if (!Environment.get().DEVELOPERS) return false;
if (!Environment.get().DEVELOPER_IDS) return false;
const developers: Snowflake[] = Environment.get().DEVELOPER_IDS.split(',');
let userID;