small bugfix
This commit is contained in:
parent
a382d0fda7
commit
5b377f2b2a
|
@ -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": {},
|
||||||
|
|
|
@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user