Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use icons #37

Open
joseooortega opened this issue Jan 27, 2021 · 0 comments
Open

Can't use icons #37

joseooortega opened this issue Jan 27, 2021 · 0 comments

Comments

@joseooortega
Copy link

joseooortega commented Jan 27, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant