try restore
This commit is contained in:
@ -28,7 +28,8 @@ class Profiles
|
||||
async getProfile(user_id)
|
||||
{
|
||||
let profile = new Profile(this.client);
|
||||
await profile.init(user_id);
|
||||
if (await profile.init(user_id))
|
||||
return null;
|
||||
return profile;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user