mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-25 07:48:32 +00:00
new getCurrentUserMention()
Co-authored-by: MrDiamondDog <84212701+MrDiamondDog@users.noreply.github.com>
This commit is contained in:
parent
f71bceff12
commit
66b49a25ab
1 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
|
|
||||||
getCurrentUserMention() {
|
getCurrentUserMention() {
|
||||||
const currentUser = UserStore.getCurrentUser();
|
return UserStore.getCurrentUser() as unknown as UserJSON;
|
||||||
return { id: currentUser.id, username: currentUser.username, discriminator: currentUser.discriminator };
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue