try restore

This commit is contained in:
2024-01-02 15:23:29 +01:00
47 changed files with 1132 additions and 79 deletions

View File

@ -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;
}