Skip to content

Just have a try as example of tuling bot. But method message.self() seems work improper.  #68

@kyle-yu

Description

@kyle-yu

In src/message.ts I suppose method message.self() denotes that it checks whether message is sent by self. But it seems compare between message-id and user-id.

code segment as below:
public self(): boolean {
const userId = Config.puppetInstance()
.userId

const fromId = this.obj.id

I do like your contribution and just wonder whether the method is as my expectation or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions