mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38: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() {
|
||||
const currentUser = UserStore.getCurrentUser();
|
||||
return { id: currentUser.id, username: currentUser.username, discriminator: currentUser.discriminator };
|
||||
return UserStore.getCurrentUser() as unknown as UserJSON;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue