diff --git a/src/plugins/replyPingControl/index.ts b/src/plugins/replyPingControl/index.ts index 4c6e466ee..92bbb5d74 100644 --- a/src/plugins/replyPingControl/index.ts +++ b/src/plugins/replyPingControl/index.ts @@ -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; } });