This commit is contained in:
verticalsync 2024-10-21 20:19:44 +03:00
parent 5585d4cd94
commit c76ec331a5
No known key found for this signature in database
GPG key ID: C2BC9F32343245E1

View file

@ -119,7 +119,6 @@ export default definePlugin({
const clientUserId = UserStore.getCurrentUser().id;
voiceStates.forEach(state => {
// mmmm hacky workaround
console.log(state);
const { userId, channelId } = state;
const user = UserStore.getUser(userId) as User & { globalName: string; };
const username = user.globalName || user.username;