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", "name": "cuffeo",
"version": "1.0.6", "version": "1.0.6-1",
"description": "A multi-protocol chatbot library with nearly zero dependencies.", "description": "A multi-protocol chatbot library with nearly zero dependencies.",
"main": "src/index.mjs", "main": "src/index.mjs",
"scripts": {}, "scripts": {},

View File

@ -58,7 +58,7 @@ export default class tg extends EventEmitter {
nick: res.message.from.first_name, nick: res.message.from.first_name,
username: res.message.from.username, username: res.message.from.username,
account: res.message.from.id.toString(), 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 id: res.message.from.id
}); });
} }