This commit is contained in:
Flummi 2020-02-20 20:21:55 +01:00
parent 15e4d6af5e
commit e13a494ea2
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -184,7 +184,7 @@ export default class slack extends EventEmitter {
channel: this.server.channel.get(tmp.channel), // get channelname
channelid: tmp.channel,
user: {
prefix: `${tmp.user}!${this.server.user.get(tmp.user).account}@${this.network}`, // get username
prefix: `${this.server.user.get(tmp.user).account}!${tmp.user}@${this.network}`, // get username
nick: this.server.user.get(tmp.user).nickname, // get username
username: this.server.user.get(tmp.user).nickname, // get username
account: this.server.user.get(tmp.user).account