add fail proof dissociation
This commit is contained in:
parent
7c09ea4758
commit
bde8b31cf9
1 changed files with 6 additions and 1 deletions
|
@ -124,7 +124,12 @@ class Service {
|
|||
}
|
||||
|
||||
async dissociation_procedure(discord_user_id: string): Promise<SimpleResult> {
|
||||
try {
|
||||
await this.state.remove_user(discord_user_id);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return `${error}`;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue