From cfc5fa3d5e9036400b33a2835cc284f26a872ad9 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 13 Feb 2025 16:49:07 +0200 Subject: Users that are no longer members (left/kicked/banned) now get fetched and show their names properly in messages --- internal/packet/types.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'internal/packet/types.go') diff --git a/internal/packet/types.go b/internal/packet/types.go index 572d1ed..f251450 100644 --- a/internal/packet/types.go +++ b/internal/packet/types.go @@ -272,3 +272,19 @@ type BlockInfo struct { func (m *BlockInfo) Type() PacketType { return PacketBlockInfo } + +type GetUsers struct { + Users []snowflake.ID +} + +func (m *GetUsers) Type() PacketType { + return PacketGetUsers +} + +type UsersInfo struct { + Users []data.User +} + +func (m *UsersInfo) Type() PacketType { + return PacketUsersInfo +} -- cgit v1.3.1