You are here

function slack_get_default_icon_emoji in Slack 7

Get default Slack bot icon emoji.

Return value

string Get default Slack bot icon emoji.

3 calls to slack_get_default_icon_emoji()
slack_rules_send_message_action in ./slack.rules.inc
Rules action for sending a message to the Slack.
slack_send_message in includes/slack.api.inc
Send message to the Slack.
slack_tokens in ./slack.tokens.inc
Implements hook_tokens().

File

includes/slack.api.inc, line 203
Slack integration module API functions.

Code

function slack_get_default_icon_emoji() {
  $icon['emoji'] = variable_get('slack_icon_emoji');
  return $icon['emoji'];
}