Skip to content

Can't use icons #37

@joseooortega

Description

@joseooortega

I tried to send icon with slack message but i can't get it done.

As the readme shows, I tried the following:

slack.send({
    text: `${environment} - ${finalMessage}`,
    channel: `#${channel}`,
    username: 'Bot',
    icon_emoji: ':taco:',
});

May I have to put :taco: in the message body? If i do that it works but then why i have to use 'icon_emoji' property?

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions