diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-20 10:48:08 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-20 10:48:08 +0500 |
| commit | c474b61f3c741e86a3273b2f4c2017de05eb1085 (patch) | |
| tree | 731f9da3f21852c1bab44ae6ebb49346762c83ae /src/emote.php | |
| parent | 3b6c6e5774dec41a16da03d1bb8497b448cfa564 (diff) | |
feat: show emote uploader
Diffstat (limited to 'src/emote.php')
| -rw-r--r-- | src/emote.php | 9 |
1 files changed, 8 insertions, 1 deletions
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; + } } |
