Skip to content

Can't use icons #37

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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