This commit is contained in:
Flummi 2017-12-03 17:44:09 +01:00
parent 29daad3969
commit 877f4aec26

View File

@ -30,7 +30,7 @@ export class tg extends EventEmitter {
if(res.ok) { if(res.ok) {
this.me = res.result; this.me = res.result;
this.server.me = { this.server.me = {
nick: res.result.first_name, nickname: res.result.first_name,
username: res.result.username, username: res.result.username,
account: res.result.id.toString(), account: res.result.id.toString(),
prefix: `${res.result.username}!${res.result.id.toString()}`, prefix: `${res.result.username}!${res.result.id.toString()}`,