feat(chat): fixed typo in profile command and improved profile in chat

This commit is contained in:
Maieul BOYER 2026-01-04 16:36:34 +01:00 committed by Maix0
parent 3e1dd0fdd9
commit 69ba60b03d
6 changed files with 28 additions and 16 deletions

View file

@ -10,7 +10,7 @@ import { Socket } from 'socket.io-client';
export function getProfil(socket: Socket, user: string) {
if (!socket.connected) return;
const profil = {
command: '@profil',
command: '@profile',
destination: 'profilMessage',
type: "chat",
user: user,