From c474b61f3c741e86a3273b2f4c2017de05eb1085 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 20 Apr 2025 10:48:08 +0500 Subject: feat: show emote uploader --- src/emote.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/emote.php') diff --git a/src/emote.php b/src/emote.php index 5d39e42..d00886a 100644 --- a/src/emote.php +++ b/src/emote.php @@ -4,14 +4,16 @@ class Emote public string $id; public string $code; public string $ext; + public string|null $uploaded_by; public int $created_at; - function __construct($id, $code, $ext, $created_at) + function __construct($id, $code, $ext, $created_at, $uploaded_by) { $this->id = $id; $this->code = $code; $this->ext = $ext; $this->created_at = $created_at; + $this->uploaded_by = $uploaded_by; } function get_id() @@ -33,4 +35,9 @@ class Emote { return $this->created_at; } + + function get_uploaded_by() + { + return $this->uploaded_by; + } } -- cgit v1.2.3