mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Fixed broken isDeveloper check
This commit is contained in:
@@ -3,7 +3,7 @@ import Environment from '../providers/Environment';
|
|||||||
|
|
||||||
class Users {
|
class Users {
|
||||||
public static isDeveloper(user: User | Snowflake) {
|
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(',');
|
const developers: Snowflake[] = Environment.get().DEVELOPER_IDS.split(',');
|
||||||
let userID;
|
let userID;
|
||||||
|
|||||||
Reference in New Issue
Block a user