/* * Vencord, a Discord client mod * Copyright (c) 2023 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ import "./VoiceChannelLogEntryComponent.css"; import { classes } from "@utils/misc"; import { React, Timestamp, UserStore } from "@webpack/common"; import { Channel } from "discord-types/general"; import { Util } from "Vencord"; import { cl } from ".."; import { VoiceChannelLogEntry } from "../logs"; import Icon from "./VoiceChannelLogEntryIcons"; export function VoiceChannelLogEntryComponent({ logEntry, channel }: { logEntry: VoiceChannelLogEntry; channel: Channel; }) { const user = UserStore.getUser(logEntry.userId); return