summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-22 16:12:39 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-22 16:12:39 +0200
commit7a97bac4bdf21015090c800160d6851f929d1c00 (patch)
tree23a3b5a2c5f26ae8d31c70736991f7affd35300f /src
parent1.2.3 (diff)
downloadserver-7a97bac4bdf21015090c800160d6851f929d1c00.tar.xz
:sparkles: Message reaction user_ids
Diffstat (limited to 'src')
-rw-r--r--src/models/Message.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models/Message.ts b/src/models/Message.ts
index 305f1326..de32e6a7 100644
--- a/src/models/Message.ts
+++ b/src/models/Message.ts
@@ -126,6 +126,7 @@ export interface Reaction {
 	count: number;
 	//// not saved in the database // me: boolean; // whether the current user reacted using this emoji
 	emoji: PartialEmoji;
+	user_ids?: string[];
 }
 
 export interface PartialEmoji {
@@ -160,6 +161,7 @@ export const EmbedImage = {
 
 const Reaction = {
 	count: Number,
+	user_ids: [String],
 	emoji: {
 		id: String,
 		name: String,