mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-23 00:29:10 -05:00
oopsy
This commit is contained in:
parent
5585d4cd94
commit
c76ec331a5
1 changed files with 0 additions and 1 deletions
|
@ -119,7 +119,6 @@ export default definePlugin({
|
||||||
const clientUserId = UserStore.getCurrentUser().id;
|
const clientUserId = UserStore.getCurrentUser().id;
|
||||||
voiceStates.forEach(state => {
|
voiceStates.forEach(state => {
|
||||||
// mmmm hacky workaround
|
// mmmm hacky workaround
|
||||||
console.log(state);
|
|
||||||
const { userId, channelId } = state;
|
const { userId, channelId } = state;
|
||||||
const user = UserStore.getUser(userId) as User & { globalName: string; };
|
const user = UserStore.getUser(userId) as User & { globalName: string; };
|
||||||
const username = user.globalName || user.username;
|
const username = user.globalName || user.username;
|
||||||
|
|
Loading…
Add table
Reference in a new issue