This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
[events] emote
MikeyWazowsky edited this page Feb 11, 2017
·
3 revisions
Key | Type | Description |
---|---|---|
raw | Object | |
cid | String | Message ID |
message | String | Message sent |
sub | int | Sender's subscription level |
uid | int | Sender's ID |
un | String | Sender's username |
id | String | Message ID |
from | Object | User object |
mentions | Array | Array of mentioned users' objects |
type | String | Message type (emote) |
{ raw:
{ cid: 'xxxxxxxx-xxxxxxxxx',
message: '/me hello-world',
sub: 0,
uid: xxxxxx,
un: 'username' },
id: 'xxxxxxxx-xxxxxxxxx',
from:
User {
avatarID: 'xxxxxxxx',
badge: 'xxxxxx',
blurb: undefined,
gRole: 0,
grab: false,
id: xxxxxx,
ignores: undefined,
joined: 'xxxx-xx-xx xx:xx:xx.xxxxxx',
language: null,
level: 3,
notifications: undefined,
pp: undefined,
pw: undefined,
rawun: 'username',
role: 0,
silver: false,
slug: null,
status: 1,
sub: 0,
username: 'username',
vote: 0,
xp: undefined },
message: '/me hello-world',
mentions: [],
muted: false,
type: 'emote' }