(json: stickerJson, owner: Guild | Localuser)
| 25 | return this.owner.localuser; |
| 26 | } |
| 27 | constructor(json: stickerJson, owner: Guild | Localuser) { |
| 28 | super(json.id); |
| 29 | this.name = json.name; |
| 30 | this.type = json.type; |
| 31 | this.format_type = json.format_type; |
| 32 | this.owner = owner; |
| 33 | this.tags = json.tags; |
| 34 | this.description = json.description || ""; |
| 35 | } |
| 36 | getHTML(noclick: boolean): HTMLElement { |
| 37 | const img = createImg( |
| 38 | this.owner.info.cdn + "/stickers/" + this.id + ".webp" + new CDNParams({expectedSize: 160}), |
nothing calls this directly
no outgoing calls
no test coverage detected