profiles
This commit is contained in:
@ -42,6 +42,14 @@ class Profiles
|
||||
return profile;
|
||||
}
|
||||
|
||||
async getProfileId(id)
|
||||
{
|
||||
let profile = new Profile(this.client, undefined, id);
|
||||
if (await profile.init())
|
||||
return null;
|
||||
return profile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Block a user
|
||||
* @param {Number} user_id
|
||||
|
Reference in New Issue
Block a user