mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 16:40:58 -05:00
parent
a190a51d0b
commit
a1ef1dce5e
1 changed files with 1 additions and 3 deletions
|
@ -369,9 +369,7 @@ export default function ContextMenus() {
|
||||||
|
|
||||||
case "clear_status":
|
case "clear_status":
|
||||||
{
|
{
|
||||||
const { text: _text, ...status } =
|
await client.users.edit({ remove: ["StatusText"] });
|
||||||
client.user?.status ?? {};
|
|
||||||
await client.users.edit({ status });
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue