small bugfix

This commit is contained in:
Flummi 2020-04-02 04:20:14 +02:00
parent a382d0fda7
commit 5b377f2b2a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "cuffeo",
"version": "1.0.6",
"version": "1.0.6-1",
"description": "A multi-protocol chatbot library with nearly zero dependencies.",
"main": "src/index.mjs",
"scripts": {},

View File

@ -58,7 +58,7 @@ export default class tg extends EventEmitter {
nick: res.message.from.first_name,
username: res.message.from.username,
account: res.message.from.id.toString(),
prefix: `${res.message.from.username}!${res.message.from.id.toString()}`,
prefix: `${res.message.from.username}!${res.message.from.id.toString()}@${this.network}`,
id: res.message.from.id
});
}